From 51be74aa237efea3165926b4c638adb9d191435c Mon Sep 17 00:00:00 2001 From: Tilman Troester Date: Thu, 20 Oct 2022 16:24:54 +0200 Subject: [PATCH] fix min->minimum (#196) Co-authored-by: Sandro Dias Pinto Vitenti --- firecrown/likelihood/gauss_family/statistic/two_point.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firecrown/likelihood/gauss_family/statistic/two_point.py b/firecrown/likelihood/gauss_family/statistic/two_point.py index 4e53a20d..c85f8edc 100644 --- a/firecrown/likelihood/gauss_family/statistic/two_point.py +++ b/firecrown/likelihood/gauss_family/statistic/two_point.py @@ -269,9 +269,9 @@ def read(self, sacc_data): self.theory_window_function = sacc_data.get_bandpower_windows(self.sacc_inds) if self.theory_window_function is not None: ell_config = {**ELL_FOR_XI_DEFAULTS} - ell_config["max"] = self.theory_window_function.values[-1] - ell_config["min"] = max( - ell_config["min"], self.theory_window_function.values[0] + ell_config["maximum"] = self.theory_window_function.values[-1] + ell_config["minimum"] = max( + ell_config["minimum"], self.theory_window_function.values[0] ) _ell_or_theta = _ell_for_xi(**ell_config)