Skip to content

Commit 8599d49

Browse files
authored
Fix typo in FLRW Ode method docstring (#18314)
* Fix typo in DarkEnergyComponent.Ode method. There was a typo in the FLRW Ode method, saying it returned non-relativistic matter density instead of dark energy.
1 parent efc1efa commit 8599d49

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎astropy/cosmology/_src/traits/darkenergy.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ def Ode(self, z):
139139
Returns
140140
-------
141141
Ode : ndarray or float
142-
The density of non-relativistic matter relative to the critical
143-
density at each redshift.
142+
The density of dark energy relative to the critical density at each
143+
redshift.
144144
Returns `float` if the input is scalar.
145145
"""
146146
z = aszarr(z)

0 commit comments

Comments
 (0)