Skip to content

Commit fadb149

Browse files
authored
Merge pull request #12 from GalSim-developers/fix_tests_views
fix: remove changes for testing views
2 parents 2ceb789 + c943056 commit fadb149

2 files changed

Lines changed: 144 additions & 170 deletions

File tree

tests/test_hsm.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,7 @@ def test_moments_basic():
157157

158158
# if this is the first time through this loop, just make sure it runs and gives the
159159
# same result whether const or not.
160-
if first_test:
161-
result = gal_image.view().FindAdaptiveMom()
160+
if first_test and (not is_jax_galsim()):
162161
first_test=False
163162
np.testing.assert_almost_equal(
164163
np.fabs(result.moments_sigma-sig/pixel_scale), 0.0,

0 commit comments

Comments
 (0)