We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8caaacf commit a31673dCopy full SHA for a31673d
tests/test_convolve.py
@@ -497,9 +497,9 @@ def test_deconvolve():
497
498
cen = galsim.PositionD(0,0)
499
np.testing.assert_equal(inv_psf.centroid, cen)
500
- np.testing.assert_almost_equal(inv_psf.flux, 1./psf.flux)
+ np.testing.assert_array_almost_equal(inv_psf.flux, 1./psf.flux)
501
# 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)
+ np.testing.assert_array_almost_equal(inv_psf.max_sb, -psf.max_sb / psf.flux**2)
503
504
check_basic(inv_psf, "Deconvolve(Moffat)", do_x=False)
505
0 commit comments