From 835c678aea39211b09535a7bfccf3b8a56fbd99f Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Wed, 28 Feb 2018 21:40:01 +0000 Subject: [PATCH] Also initialise the cosmology structure in the test125. --- tests/test125cells.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test125cells.c b/tests/test125cells.c index 7ec0a7baa2..6098b89698 100644 --- a/tests/test125cells.c +++ b/tests/test125cells.c @@ -596,6 +596,10 @@ int main(int argc, char *argv[]) { engine.max_active_bin = num_time_bins; engine.nodeID = NODE_ID; + struct cosmology cosmo; + cosmology_init_no_cosmo(&cosmo); + engine.cosmology = &cosmo; + struct runner runner; runner.e = &engine; -- GitLab