diff --git a/augur/analyze.py b/augur/analyze.py index 5c3ea7b..94918e1 100644 --- a/augur/analyze.py +++ b/augur/analyze.py @@ -128,8 +128,8 @@ def f(self, x, labels, pars_fid, sys_fid): raise ValueError(f'Parameter name {labels[i]} not recognized!') self.tools.reset() self.lk.reset() - cosmo = ccl.Cosmology(**_pars) pmap = ParamsMap(_sys_pars) + cosmo = ccl.Cosmology(**_pars) self.lk.update(pmap) self.tools.update(pmap) self.tools.prepare(cosmo) @@ -150,8 +150,8 @@ def f(self, x, labels, pars_fid, sys_fid): self.tools.reset() self.lk.reset() pmap = ParamsMap(_sys_pars) - self.lk.update(pmap) cosmo = ccl.Cosmology(**_pars) + self.lk.update(pmap) self.tools.update(pmap) self.tools.prepare(cosmo) f_out.append(self.lk.compute_theory_vector(self.tools)) diff --git a/environment.yml b/environment.yml index 7234ec0..f550c2d 100644 --- a/environment.yml +++ b/environment.yml @@ -2,7 +2,7 @@ name: forecasting channels: - conda-forge dependencies: - - firecrown>=1.7.4 + - firecrown>=1.7.5 - flake8 - healpy - jinja2