Skip to content

Commit a31673d

Browse files
committed
TST more test fixes for jax
1 parent 8caaacf commit a31673d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_convolve.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,9 @@ def test_deconvolve():
497497

498498
cen = galsim.PositionD(0,0)
499499
np.testing.assert_equal(inv_psf.centroid, cen)
500-
np.testing.assert_almost_equal(inv_psf.flux, 1./psf.flux)
500+
np.testing.assert_array_almost_equal(inv_psf.flux, 1./psf.flux)
501501
# This doesn't really have any meaning, but this is what we've assigned to a deconvolve max_sb.
502-
np.testing.assert_almost_equal(inv_psf.max_sb, -psf.max_sb / psf.flux**2)
502+
np.testing.assert_array_almost_equal(inv_psf.max_sb, -psf.max_sb / psf.flux**2)
503503

504504
check_basic(inv_psf, "Deconvolve(Moffat)", do_x=False)
505505

0 commit comments

Comments
 (0)