Skip to content

Commit

Permalink
fix floating point comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
MAfarrag committed Dec 10, 2024
1 parent 8cd2665 commit 9b33474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dflowfm/test_inifield.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def test_default_values(self):
assert initial_conditions.interpolationmethod is None
assert initial_conditions.operand == "O"
assert initial_conditions.averagingtype is "mean"
assert initial_conditions.averagingrelsize == 1.01
assert np.isclose(initial_conditions.averagingrelsize, 1.01)
assert initial_conditions.averagingnummin == 1
assert initial_conditions.extrapolationmethod is False
assert initial_conditions.locationtype is "all"
Expand Down

0 comments on commit 9b33474

Please sign in to comment.