You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In outputs.py, the lightcone_coords attribute of a LightCone class is defined as follows:
def lightcone_coords(self):
"""Co-ordinates [Mpc] of each cell along the redshift axis."""
return np.linspace(0, self.lightcone_dimensions[-1], self.n_slices)
I believe the intention was to create an array with fixed intervals of cell_size. However, the code here does not achieve this because both ends are included, and the interval will be slightly increased from cell_size. Changing the above line to
In
outputs.py
, thelightcone_coords
attribute of aLightCone
class is defined as follows:I believe the intention was to create an array with fixed intervals of
cell_size
. However, the code here does not achieve this because both ends are included, and the interval will be slightly increased fromcell_size
. Changing the above line toshould do.
The text was updated successfully, but these errors were encountered: