Skip to content
Snippets Groups Projects
Commit cc3df9e1 authored by Loic Hausammann's avatar Loic Hausammann
Browse files

GEAR: small fix

parent bc822c3f
No related branches found
No related tags found
1 merge request!885Gear merge pressure floor and GEAR star formation
......@@ -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);
}
/**
......
......@@ -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;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment