Skip to content
Snippets Groups Projects
Commit 252a4f19 authored by Willem Elbers's avatar Willem Elbers
Browse files

Fix order of the redshift array

parent 1cf6d9e6
Branches
No related tags found
No related merge requests found
......@@ -66,7 +66,7 @@ model.compute()
#Extract wavenumbers and prepare redshifts
k = model.get_transfer(0)["k (h/Mpc)"] * h
a = np.exp(np.arange(0, np.log(amin), -0.01))
a = np.exp(np.arange(0, np.log(amin), -0.01))[::-1]
z = 1.0 / a - 1.0
nk = len(k)
nz = len(z)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment