Skip to content

Commit

Permalink
trying to fix CI issue with prepared tools
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Sanchez authored and Javier Sanchez committed Oct 31, 2024
1 parent 3e5e512 commit ceca235
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions augur/analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,10 +386,11 @@ def compute_new_theory_vector(self, _sys_pars, _pars):
self.tools = firecrown.modeling_tools.ModelingTools(ccl_factory=self.cf)
pmap = ParamsMap(dict_all)
self.cf.update(pmap)
self.tools.reset()
self.lk.reset()
self.tools.update(pmap)
self.tools.prepare()
self.lk.update(pmap)
f_out = self.lk.compute_theory_vector(self.tools)
self.tools.reset()
self.lk.reset()

return f_out

0 comments on commit ceca235

Please sign in to comment.