Skip to content

Commit

Permalink
Merge pull request #145 from mcflugen/mcflugen/fix-failing-time-varia…
Browse files Browse the repository at this point in the history
…ble-test

Fix failing test_time_variable
  • Loading branch information
mcflugen authored Dec 2, 2024
2 parents 443f374 + f1aef5c commit 3ed9851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_strat.py
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ def test_time_variable(self):
self.golfstrat['time'],
num_sections=50,
last_section_radius=2750,
sediment_bins=np.linspace(0, golfcube.t[-1], num=5),
sediment_bins=np.linspace(0, float(golfcube.t[-1]), num=5),
background=background,
origin_idx=[3, 100])
assert np.all(np.logical_or(s <= 1, np.isnan(s)))

0 comments on commit 3ed9851

Please sign in to comment.