diff --git a/mflike/mflike.py b/mflike/mflike.py index 425e81c..56af65a 100644 --- a/mflike/mflike.py +++ b/mflike/mflike.py @@ -110,7 +110,7 @@ def get_requirements(self): return dict(Cl={k: max(c, self.lmax_theory + 1) for k, c in self.lcuts.items()}) def logp(self, **params_values): - cl = self.theory.get_Cl(ell_factor=True) + cl = self.provider.get_Cl(ell_factor=True) params_values_nocosmo = { k: params_values[k] for k in self.expected_params_fg + self.expected_params_nuis } diff --git a/setup.py b/setup.py index 35d0ebb..fdd593e 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ install_requires=[ "fgspectra>=1.1.0", "syslibrary>=0.1.0", - "cobaya>=3.3.0", + "cobaya>=3.4.1", "sacc>=0.9.0", ], package_data={"mflike": ["MFLike.yaml"]},