Skip to content

Commit

Permalink
Use rho_c
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed Nov 25, 2024
1 parent 7974cb3 commit a6ed9cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ def dc_inv(self, z: npt.NDArray[np.float64]) -> npt.NDArray[np.float64]:

def rho_m_z(self, z: npt.NDArray[np.float64]) -> npt.NDArray[np.float64]:
"""Redshift-dependent matter density in Msol Mpc-3."""
rho_crit_0 = 3e4
return rho_crit_0 * self.omega_m * (1 + z) ** 3
return self.rho_c * self.omega_m * (1 + z) ** 3

return MockCosmology()

Expand Down

0 comments on commit a6ed9cd

Please sign in to comment.