Skip to content

Commit

Permalink
test: better test here
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermr authored Aug 22, 2024
1 parent 1a3b3cb commit 4173070
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_deprecated.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,8 @@ def test_photon_array_depr():
# JAX-Galsim does not allow by reference setting - changed this
# to make tests below run
photon_array.wavelength = 500.0
# jax-galsim is allocated now
assert photon_array.hasAllocatedWavelengths()
else:
wave[:] = 500.
np.testing.assert_array_equal(photon_array.wavelength, 500)
Expand Down

0 comments on commit 4173070

Please sign in to comment.