Skip to content

Commit 61c6ce1

Browse files
committed
test: try this
1 parent 07b6344 commit 61c6ce1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_interpolatedimage.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,16 +1662,16 @@ def test_ne(ref):
16621662
unequal InterpolatedImages or InterpolatedKImages may be the same due to truncation.
16631663
"""
16641664
final, ref_image = ref
1665-
obj1 = galsim.InterpolatedImage(ref_image, flux=20, calculate_maxk=False, calculate_stepk=False)
1665+
obj1 = galsim.InterpolatedImage(ref_image, flux=2e24, calculate_maxk=False, calculate_stepk=False)
16661666

16671667
# Copy ref_image and perturb it slightly in the middle, away from where the InterpolatedImage
16681668
# repr string will report.
16691669
perturb_image = ref_image.copy()
16701670
if is_jax_galsim():
1671-
perturb_image._array = perturb_image._array.at[64, 64].set(perturb_image._array[64, 64] * 1.001)
1671+
perturb_image._array = perturb_image._array.at[64, 64].set(perturb_image._array[64, 64] * 100)
16721672
else:
1673-
perturb_image.array[64, 64] *= 1.001
1674-
obj2 = galsim.InterpolatedImage(perturb_image, flux=20, calculate_maxk=False, calculate_stepk=False)
1673+
perturb_image.array[64, 64] *= 100
1674+
obj2 = galsim.InterpolatedImage(perturb_image, flux=2e24, calculate_maxk=False, calculate_stepk=False)
16751675

16761676
with galsim.utilities.printoptions(threshold=128*128):
16771677
assert repr(obj1) != repr(obj2), "Reprs unexpectedly agree: %r"%obj1

0 commit comments

Comments
 (0)