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

Initialise the redshift correctly when cosmology is off.

parent 7ae67880
Branches
Tags
1 merge request!589Mpi periodic gravity
......@@ -497,6 +497,7 @@ void cosmology_init_no_cosmo(struct cosmology *c) {
c->H = 0.;
c->a = 1.;
c->z = 0.;
c->a_inv = 1.;
c->a2_inv = 1.;
c->a3_inv = 1.;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment