Skip to content

Commit 5a7b1c3

Browse files
committed
test: tighter tolerance
1 parent 86d669b commit 5a7b1c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/jax/test_moffat_comp_galsim.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def test_moffat_comp_galsim_maxk(psf, thresh):
4646
f"{psf.beta} \t {int(psf.trunc)} \t {thresh:.1e} \t {fk:.3e} \t {psf.maxk:.3e} \t {gpsf.maxk:.3e}",
4747
flush=True,
4848
)
49-
np.testing.assert_allclose(gpsf.maxk, psf.maxk, rtol=1e-4, atol=0)
49+
np.testing.assert_allclose(gpsf.maxk, psf.maxk, rtol=5e-5, atol=0)
5050
np.testing.assert_allclose(
5151
psf.kValue(0.0, 0.0), gpsf.kValue(0.0, 0.0), rtol=1e-5, atol=1e-5
5252
)

0 commit comments

Comments
 (0)