From 0e39f70ccfc29e870e1c669fafacbe7cc4f1cbad Mon Sep 17 00:00:00 2001 From: lhausamm <loic_hausammann@hotmail.com> Date: Wed, 17 Jan 2018 10:42:33 +0100 Subject: [PATCH] Update testReading with grackle modifications --- tests/testReading.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/testReading.c b/tests/testReading.c index a35c2abcb2..f5e2757c2f 100644 --- a/tests/testReading.c +++ b/tests/testReading.c @@ -42,8 +42,8 @@ int main() { const double boxSize = 1.; const size_t L = 4; const double rho = 2.; -#ifdef COOLING_GRACKLE - const float He_density = rho * 0.24; +#ifdef CHEMISTRY_GRACKLE + const float he_density = rho * 0.24; #endif /* Read data */ @@ -96,8 +96,8 @@ int main() { assert(parts[n].a_hydro[1] == 0.); assert(parts[n].a_hydro[2] == 0.); -#ifdef COOLING_GRACKLE - assert(parts[n].cooling_data.He_density == He_density); +#ifdef CHEMISTRY_GRACKLE + assert(parts[n].chemistry_data.he_density == he_density); #endif } -- GitLab