Skip to content

Commit 192c442

Browse files
authored
Update the PolyTEOS10_bsq kernel test to test against the correct density value (and not the density anomaly value).
1 parent 0f212dd commit 192c442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_kernel_language.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def generate_fieldset(xdim=2, ydim=2, zdim=2, tdim=1):
458458
pset = ParticleSet(fieldset, pclass=DensParticle, lon=5, lat=5, depth=1000)
459459

460460
pset.execute(PolyTEOS10_bsq, runtime=1)
461-
assert np.allclose(pset[0].density, 1022.85377)
461+
assert np.allclose(pset[0].density, 1027.45140)
462462

463463

464464
@pytest.mark.parametrize("mode", ["scipy", "jit"])

0 commit comments

Comments
 (0)