Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions tests/test_exponential.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,7 @@ def test_exponential_shoot():
assert np.isclose(added_flux, obj.flux)
assert np.isclose(im.array.sum(), obj.flux)
photons2 = obj.makePhot(poisson_flux=False, rng=rng)
if is_jax_galsim():
np.testing.assert_allclose(photons2.x, photons.x)
np.testing.assert_allclose(photons2.y, photons.y)
np.testing.assert_allclose(photons2.flux, photons.flux)
else:
assert photons2 == photons, "Exponential makePhot not equivalent to drawPhot"
assert photons2 == photons, "Exponential makePhot not equivalent to drawPhot"


@timer
Expand Down
Loading