Skip to content

Commit

Permalink
fix: typo in method update
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Dec 23, 2024
1 parent 3b7f045 commit 5fd5117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/py21cmfast/wrapper/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def _inputs_compatible_with(self, other: OutputStruct | InputParameters) -> bool
if isinstance(other, InputParameters):
# Compare at the level required by this object only
return getattr(self.inputs, f"_{self._compat_hash.name}_hash") == getattr(
other, f"{self._compat_hash.name}_hash"
other, f"_{self._compat_hash.name}_hash"
)

min_req = min(self._compat_hash.value, other._compat_hash.value)
Expand Down

0 comments on commit 5fd5117

Please sign in to comment.