diff --git a/src/pressure_floor/GEAR/pressure_floor.h b/src/pressure_floor/GEAR/pressure_floor.h index 60023196a0652fc2465c351d6a4634eaa3760cb6..0870182bae80228f0ed27396e6b93f4338fac188 100644 --- a/src/pressure_floor/GEAR/pressure_floor.h +++ b/src/pressure_floor/GEAR/pressure_floor.h @@ -72,7 +72,7 @@ __attribute__((always_inline)) static INLINE float pressure_floor_get_physical_p p->pressure_floor_data.sigma2 * cosmo->a * cosmo->a; floor *= rho * hydro_one_over_gamma; - return fmax(pressure, floor); + return fmaxf(pressure, floor); } /** @@ -94,7 +94,7 @@ __attribute__((always_inline)) static INLINE float pressure_floor_get_comoving_p p->pressure_floor_data.sigma2; floor *= rho * hydro_one_over_gamma; - return fmax(pressure, floor); + return fmaxf(pressure, floor); } /** diff --git a/src/pressure_floor/GEAR/pressure_floor_struct.h b/src/pressure_floor/GEAR/pressure_floor_struct.h index 50285c1f926f6b6645267b53d2224d1740bca473..b33540a8ce55186c4c53bf674ccc40f7831b482c 100644 --- a/src/pressure_floor/GEAR/pressure_floor_struct.h +++ b/src/pressure_floor/GEAR/pressure_floor_struct.h @@ -25,7 +25,7 @@ */ struct pressure_floor_part_data { /*! Estimation of local turbulence (squared) - * Units: lenght^2 / time^2 (comoving) */ + * Units: length^2 / time^2 (comoving) */ float sigma2; };