Skip to content
Snippets Groups Projects
Commit 39a0bb0d authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Initialise the Hubble time and lookback time to 0 when running without cosmology.

parent 65f17808
No related branches found
No related tags found
No related merge requests found
...@@ -577,7 +577,7 @@ void cosmology_init_no_cosmo(struct cosmology *c) { ...@@ -577,7 +577,7 @@ void cosmology_init_no_cosmo(struct cosmology *c) {
c->time = 0.; c->time = 0.;
c->universe_age_at_present_day = 0.; c->universe_age_at_present_day = 0.;
c->Hubble_time = 0.; c->Hubble_time = 0.;
c->Lookback_time = 0.; c->lookback_time = 0.;
/* Initialise the interpolation tables */ /* Initialise the interpolation tables */
c->drift_fac_interp_table = NULL; c->drift_fac_interp_table = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment