Skip to content

Commit

Permalink
make NormalField attribute Optional None
Browse files Browse the repository at this point in the history
  • Loading branch information
smiet committed Sep 13, 2023
1 parent 3bb191b commit 4165ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simsopt/mhd/spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def __init__(self,
if si.lfreebound:
self.normal_field = NormalField.from_spec(filename)
else:
self.normal_field = None
self.normal_field = Optional[NormalField] = None

# By default, all dofs owned by SPEC directly, as opposed to
# dofs owned by the boundary surface object, are fixed.
Expand Down

0 comments on commit 4165ee1

Please sign in to comment.