Skip to content

Commit 6f6c07e

Browse files
Update tests/test_healpix_ffts.py
Co-authored-by: Matt Graham <matthew.m.graham@gmail.com>
1 parent 0e03787 commit 6f6c07e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_healpix_ffts.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,11 @@ def generate_flm():
158158
ftm_stacked = jnp.stack([generate_flm() for _ in range(10)], axis=0)
159159
ftm = ftm_stacked[0].real
160160

161-
def healpix_inv_jax(f):
162-
return healpix_ifft_jax(f, L, nside, False).real
161+
def healpix_inv_jax(ftm):
162+
return healpix_ifft_jax(ftm, L, nside, False).real
163163

164-
def healpix_inv_cuda(f):
165-
return healpix_ifft_cuda(f, L, nside, False).real
164+
def healpix_inv_cuda(ftm):
165+
return healpix_ifft_cuda(ftm, L, nside, False).real
166166

167167
# Test VMAP
168168
assert_allclose(

0 commit comments

Comments
 (0)