From 8b1c79815a3089fdcafbc9b67377b2a6b65f85b2 Mon Sep 17 00:00:00 2001 From: Matt Graham Date: Fri, 13 Dec 2024 11:42:01 +0000 Subject: [PATCH] Fix incorrect passing through of L_lower to generate_precomputes --- s2fft/transforms/otf_recursions.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/s2fft/transforms/otf_recursions.py b/s2fft/transforms/otf_recursions.py index 50718eb2..bb036e46 100644 --- a/s2fft/transforms/otf_recursions.py +++ b/s2fft/transforms/otf_recursions.py @@ -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):