needs to be in constituents

This commit is contained in:
Martin Diehl 2021-08-05 16:24:59 +02:00
parent aa215ff81e
commit 5503592790
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ class ConfigMaterial(Config):
target = shape_map.get(k,(N,n))
obj = np.broadcast_to(v.reshape(util.shapeshifter(v.shape,target,mode='right')),target)
for i in range(N):
if k in ['phase','O','v']:
if k in ['phase','O','v','F_i']:
for j in range(n):
mat[i]['constituents'][j][k] = obj[i,j].item() if isinstance(obj[i,j],np.generic) else obj[i,j]
else: