From 80022c94ce677503950631ec4db758b36185fb00 Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Sat, 13 Feb 2016 17:57:31 +0000 Subject: [PATCH] Corrected mistake in the default implementation. --- src/hydro/Default/hydro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydro/Default/hydro.h b/src/hydro/Default/hydro.h index b18634b377..be0c496a3a 100644 --- a/src/hydro/Default/hydro.h +++ b/src/hydro/Default/hydro.h @@ -35,7 +35,7 @@ __attribute__((always_inline)) INLINE static float hydro_compute_timestep( ? fabsf(const_max_u_change * p->u / p->force.u_dt) : FLT_MAX; - return fminf(dt_cfl, fminf(dt_h_change, dt_u_change)); + return fminf(dt_cfl, dt_u_change); } /** -- GitLab