Skip to content

Commit

Permalink
updated environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Sanchez authored and Javier Sanchez committed Jun 24, 2024
1 parent be7ddd3 commit 9a613fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions augur/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: forecasting
channels:
- conda-forge
dependencies:
- firecrown>=1.7.4
- firecrown>=1.7.5
- flake8
- healpy
- jinja2
Expand Down

0 comments on commit 9a613fd

Please sign in to comment.