Skip to content

Commit

Permalink
Lower precision required for one of the tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmjarvis committed Jan 3, 2025
1 parent 1c36b2c commit 78a6606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_vonkarman.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def test_vk_properties():
# Check various properties
np.testing.assert_equal(psf.centroid, galsim.PositionD(0,0))
np.testing.assert_almost_equal(psf.maxk, 24.511275061996837)
np.testing.assert_almost_equal(psf.stepk, 1.1025979141287368)
np.testing.assert_almost_equal(psf.stepk, 1.1025979141287368, decimal=6)
np.testing.assert_almost_equal(psf.kValue(0,0), test_flux+0j)
np.testing.assert_almost_equal(psf.xValue(0,0), 7.91805413536067)
np.testing.assert_almost_equal(psf.kValue(0,0), (1+0j) * test_flux)
Expand Down

0 comments on commit 78a6606

Please sign in to comment.