Reset the value of rho_dh to something sensible if no neighbours are found when imposing h=h_max
Compare changes
+ 28
− 3
@@ -210,9 +210,6 @@ __attribute__((always_inline)) INLINE static void hydro_end_density(
@@ -223,6 +220,31 @@ __attribute__((always_inline)) INLINE static void hydro_end_density(
@@ -249,6 +271,9 @@ __attribute__((always_inline)) INLINE static void hydro_prepare_force(