From 5f4704bf806f8eaee779857c1eaf583c5f564890 Mon Sep 17 00:00:00 2001 From: Christian Chapman-Bird Date: Wed, 18 Dec 2024 22:42:39 +0000 Subject: [PATCH] fix: arguments to modeselector --- few/utils/modeselector.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/few/utils/modeselector.py b/few/utils/modeselector.py index 085401a0..de0a864b 100644 --- a/few/utils/modeselector.py +++ b/few/utils/modeselector.py @@ -221,7 +221,7 @@ def __call__(self, teuk_modes: np.ndarray, ylms: np.ndarray, modeinds: list[np.n M = fund_freq_args[0] Msec = M * MTSUN_SI - a_fr, p_fr, e_fr, x_fr = fund_freq_args[1:] + a_fr, p_fr, e_fr, x_fr = fund_freq_args[1:-1] if self.use_gpu: # fundamental frequencies only defined on CPU p_fr = p_fr.get()