diff --git a/src/star_formation/EAGLE/star_formation.h b/src/star_formation/EAGLE/star_formation.h index de9c39f254c4794ebd7aa41d4f5c5e4e16586124..92ddcc1c5e3ba34c1f51b94e71a562948a583fce 100644 --- a/src/star_formation/EAGLE/star_formation.h +++ b/src/star_formation/EAGLE/star_formation.h @@ -209,7 +209,7 @@ INLINE static int star_formation_is_star_forming( const struct hydro_props* restrict hydro_props, const struct unit_system* restrict us, const struct cooling_function_data* restrict cooling, - const struct entropy_floor_properties* restrict entropy) { + const struct entropy_floor_properties* restrict entropy_floor) { /* Minimal density (converted from critical density) for star formation */ const double rho_crit_times_min_over_den = @@ -246,7 +246,7 @@ INLINE static int star_formation_is_star_forming( us, cosmo, cooling, p, xp); /* Temperature on the equation of state */ - const double temperature_eos = entropy_floor_temperature(p, cosmo, entropy); + const double temperature_eos = entropy_floor_temperature(p, cosmo, entropy_floor); /* Check the Scahye & Dalla Vecchia 2012 EOS-based temperature critrion */ return (temperature < diff --git a/src/star_formation/GEAR/star_formation.h b/src/star_formation/GEAR/star_formation.h index d679cb30f92104c04446e114501f265b43ea1a8f..05bb584a5330002e610df9c1866c672f5ae1977f 100644 --- a/src/star_formation/GEAR/star_formation.h +++ b/src/star_formation/GEAR/star_formation.h @@ -52,7 +52,7 @@ INLINE static int star_formation_is_star_forming( const struct hydro_props* restrict hydro_props, const struct unit_system* restrict us, const struct cooling_function_data* restrict cooling, - const struct entropy_floor_properties* restrict entropy) { + const struct entropy_floor_properties* restrict entropy_floor) { return 0; } diff --git a/src/star_formation/none/star_formation.h b/src/star_formation/none/star_formation.h index 62c91a521df7caee7110707c89173f1b97e6eea7..25c0bcee6a8d2aa2f4be5479556eebc50027aa72 100644 --- a/src/star_formation/none/star_formation.h +++ b/src/star_formation/none/star_formation.h @@ -55,7 +55,7 @@ INLINE static int star_formation_is_star_forming( const struct hydro_props* restrict hydro_props, const struct unit_system* restrict us, const struct cooling_function_data* restrict cooling, - const struct entropy_floor_properties* restrict entropy) { + const struct entropy_floor_properties* restrict entropy_floor) { return 0; }