Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Dec 17, 2023
1 parent a0fa108 commit 8d4ba4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/sdist/amici/numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def __init__(self, swigptr):

# create properties for all fields
for field in self._field_names:
if not hasattr(self, field):
if field not in dir(self):
setattr(
self,
field,
Expand Down

0 comments on commit 8d4ba4d

Please sign in to comment.