Skip to content

Commit

Permalink
tests: Restore redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebisbas committed May 9, 2024
1 parent cd91bd4 commit 6a5282e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_dimension.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ def test_basic(self):

eqns = [Eq(u.forward, u + 1.), Eq(u2.forward, u2 + 1.), Eq(usave, u)]
op = Operator(eqns)
op.apply(time_M=nt-2)
op.apply()
assert np.all(np.allclose(u.data[(nt-1) % 3], nt-1))
assert np.all([np.allclose(u2.data[i], i) for i in range(nt)])
assert np.all([np.allclose(usave.data[i], i*factor)
Expand Down

0 comments on commit 6a5282e

Please sign in to comment.