Currently the max. redshift is hardcoded in set_cosmo_dist.h as 1.0. For arbitrary datasets, this can be easily exceeded. This limit is actually un-necessary since the set_cosmo_dist function itself takes a parameter for max redshift.
Fix would require calculating the max redshift of the input cz arrays and passing that into set_cosmo_dist or equivalent. This step would obviously be skipped is is_comoving_dist is set.
Currently the max. redshift is hardcoded in
set_cosmo_dist.h
as1.0
. For arbitrary datasets, this can be easily exceeded. This limit is actually un-necessary since the set_cosmo_dist function itself takes a parameter formax redshift
.Fix would require calculating the max redshift of the input
cz
arrays and passing that intoset_cosmo_dist
or equivalent. This step would obviously be skipped isis_comoving_dist
is set.