Commit 583944b3 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Initialise the time_base to 0 in the cosmology module when not running with cosmology.

parent 94762d84
......@@ -572,6 +572,8 @@ void cosmology_init_no_cosmo(struct cosmology *c) {
c->log_a_end = 0.;
c->log_a_table_begin = 0.;
c->log_a_table_end = 0.;
c->time_base = 0.;
c->time_base_inv = 0.;
c->H = 0.;
c->H0 = 0.;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment