From d18f7675c3133f5cf5daecb7b5b5d885892d514d Mon Sep 17 00:00:00 2001 From: David Alonso Date: Tue, 29 Oct 2024 08:28:27 +0000 Subject: [PATCH] fix API-breaking change in ducc0 (#220) --- pymaster/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pymaster/utils.py b/pymaster/utils.py index 0e99026..2a4fbcf 100644 --- a/pymaster/utils.py +++ b/pymaster/utils.py @@ -852,7 +852,8 @@ def _map2alm_healpy(map, spin, sht_info, alm_info): def _catalog2alm_ducc0(values, positions, spin, lmax): values = np.atleast_2d(values) alm = ducc0.sht.adjoint_synthesis_general(lmax=lmax, map=values, - loc=positions.T, spin=int(spin)) + loc=positions.T, spin=int(spin), + epsilon=1E-5) return alm