From 2f19f5a8208e9dd20efb450385ca7ddb6a167380 Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Thu, 26 Jul 2018 17:23:27 +0100
Subject: [PATCH] Initialise the minimal temperature correctly.

---
 src/hydro_properties.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hydro_properties.c b/src/hydro_properties.c
index 5540d8c33c..f79fd83224 100644
--- a/src/hydro_properties.c
+++ b/src/hydro_properties.c
@@ -123,7 +123,7 @@ void hydro_props_init(struct hydro_props *p,
 
   /* Compute the minimal energy (Note the temp. read is in internal units) */
   double u_min = phys_const->const_boltzmann_k / phys_const->const_proton_mass;
-  u_min *= p->initial_temperature;
+  u_min *= p->minimal_temperature;
   u_min *= hydro_one_over_gamma_minus_one;
 
   /* Correct for hydrogen mass fraction */
-- 
GitLab