Skip to content

Commit 704289e

Browse files
Change assertions for stommel gyre test
The location that the particle ends up at changes since we've changed the method in which the barycentric coordinates are calculated.
1 parent 9269711 commit 704289e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_particleset_execute.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,8 @@ def test_uxstommelgyre_pset_execute():
531531
runtime=np.timedelta64(10, "m"),
532532
dt=np.timedelta64(60, "s"),
533533
)
534-
np.testing.assert_allclose(pset[0].lon, 29.997648, atol=1e-3)
535-
np.testing.assert_allclose(pset[0].lat, 4.998691, atol=1e-3)
534+
np.testing.assert_allclose(pset[0].lon, 30.001259, atol=1e-3)
535+
np.testing.assert_allclose(pset[0].lat, 4.9962664, atol=1e-3)
536536

537537

538538
def test_uxstommelgyre_multiparticle_pset_execute():

0 commit comments

Comments
 (0)