From f06d2529f5fc21b57192edc7d680d6503bf68d5c Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <schaller@strw.leidenuniv.nl> Date: Wed, 19 Dec 2018 17:20:18 +0100 Subject: [PATCH] Applied code formatting script. --- src/hydro/Planetary/hydro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydro/Planetary/hydro.h b/src/hydro/Planetary/hydro.h index 887693accf..957e96dcf3 100644 --- a/src/hydro/Planetary/hydro.h +++ b/src/hydro/Planetary/hydro.h @@ -523,7 +523,7 @@ __attribute__((always_inline)) INLINE static void hydro_prepare_force( if (p->h == hydro_props->h_max) { rho_dh = 0.f; } - const float grad_h_term = + const float grad_h_term = 1.f / (1.f + hydro_dimension_inv * p->h * rho_dh * rho_inv); /* Compute the Balsara switch */ -- GitLab