Skip to content

Commit

Permalink
solving test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanfacchinetti committed Jul 2, 2024
1 parent 42a37a7 commit ec41a17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

# Test that we can define INJ_PARAMS and COSMOPARAMS objects
def test_load():
pyhy.init_INPUT_INJ_PARAMS(0., 0., 0., 0., 0., 0., 0., 0, 0., 1., 0., 0., -2.0, 31.0)
pyhy.init_INPUT_INJ_PARAMS(0., 0., 0., 0., 0., 0., 0., 0, 0., 1., 0., 0., -2.0, 31.0, 0.0, 0)
pyhy.init_INPUT_COSMOPARAMS(6.735837e-01, 2.7255, 0.0494142797907188, 0.31242079216478097, 0., -1, 0, 3.046, 1.0, 0.06, 0., 0., 0.245, 1., 1.)

# Test that we can run the HYREC C code
def test_call_run():
inj_params = pyhy.init_INPUT_INJ_PARAMS(0., 0., 0., 0., 0., 0., 0., 0, 0., 1., 0., 0., -2.0, 31.0)
inj_params = pyhy.init_INPUT_INJ_PARAMS(0., 0., 0., 0., 0., 0., 0., 0, 0., 1., 0., 0., -2.0, 31.0, 0.0, 0)
cosmo_params = pyhy.init_INPUT_COSMOPARAMS(6.735837e-01, 2.7255, 0.0494142797907188, 0.31242079216478097, 0., -1, 0, 3.046, 1.0, 0.06, 0., 0., 0.245, 1., 1.)
pyhy.call_run_hyrec(cosmo_params, inj_params)

Expand Down

0 comments on commit ec41a17

Please sign in to comment.