Skip to content

Commit

Permalink
BUG: pass missing argument
Browse files Browse the repository at this point in the history
  • Loading branch information
ColmTalbot authored May 17, 2024
1 parent f2f1ff7 commit 7a44bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wcosmo/wcosmo.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def comoving_distance(z, H0, Om0, w0=-1):
comoving_distance: array_like
The comoving distance in Mpc
"""
integral = analytic_integral(z, Om0=Om0) - analytic_integral(0, Om0=Om0, w0=w0)
integral = analytic_integral(z, Om0=Om0, w0=w0) - analytic_integral(0, Om0=Om0, w0=w0)
return integral * hubble_distance(H0)


Expand Down

0 comments on commit 7a44bce

Please sign in to comment.