Skip to content

Commit

Permalink
Assigning the values using the parameter names allows the test to run…
Browse files Browse the repository at this point in the history
… on python>=3.8
  • Loading branch information
drewoldag committed Sep 25, 2024
1 parent 315c6bc commit 3acbe22
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resspect/cosmo_metric_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ def fish_deriv_m(redshift, model, step, screen=False):
at given redshifts.
"""

Ob0=0.022
Om0=model[1]
Ode0 =model[2]
cosmo = w0waCDM(model[0], Ob0, Om0, Ode0, model[3],model[4], name="w0waCDM")
Ob0 = 0.022
Om0 = model[1]
Ode0 = model[2]
cosmo = w0waCDM(H0=model[0], Ob0=Ob0, Om0=Om0, Ode0=Ode0, w0=model[3], wa=model[4], name="w0waCDM")

cosmo=assign_cosmo(cosmo, model)

Expand Down

0 comments on commit 3acbe22

Please sign in to comment.