Skip to content

Commit

Permalink
Fix incorrect passing through of L_lower to generate_precomputes
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-graham committed Dec 13, 2024
1 parent 8f6e4d5 commit 8b1c798
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion s2fft/transforms/otf_recursions.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,14 @@ def inverse_latitudinal_step(
half_slices = [el + mm + 1, el - mm + 1]

if precomps is None:
precomps = generate_precomputes(L, -mm, sampling, nside, L_lower)
precomps = generate_precomputes(
L=L,
spin=-mm,
sampling=sampling,
nside=nside,
forward=False,
L_lower=L_lower,
)
lrenorm, vsign, cpi, cp2, indices = precomps

for i in range(2):
Expand Down

0 comments on commit 8b1c798

Please sign in to comment.