You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The logic of defining an initial pressure distribution is different from all other methods in that it can not be modified after being defined, throwing the error: TypeError: 'NoneType' object does not support item assignment for something like
has np.sum(val !=0) which should be replaced by a statement with np.all() statement equivalent, as the setter overwrites things to None when it shouldn't.
Describe the bug
The logic of defining an initial pressure distribution is different from all other methods in that it can not be modified after being defined, throwing the error:
TypeError: 'NoneType' object does not support item assignment
for something likeThis would be fine for
ux
etc. There are ways to handle it, i.e.but the logic is confusing.
The text was updated successfully, but these errors were encountered: