diff --git a/src/cooling/EAGLE/cooling.c b/src/cooling/EAGLE/cooling.c index 5324ae47de9568358df9dd263c5af019b0c57860..0815b6cb8205f883f1b65ce0c2a39cf9241ff444 100644 --- a/src/cooling/EAGLE/cooling.c +++ b/src/cooling/EAGLE/cooling.c @@ -653,7 +653,7 @@ float cooling_get_temperature( const struct unit_system *restrict us, const struct cosmology *restrict cosmo, const struct cooling_function_data *restrict cooling, - const struct part *restrict p, struct xpart *restrict xp) { + const struct part *restrict p, const struct xpart *restrict xp) { /* Get physical internal energy */ const float u = hydro_get_physical_internal_energy(p, xp, cosmo); diff --git a/src/cooling/EAGLE/cooling.h b/src/cooling/EAGLE/cooling.h index 7485880a145054852cd176d8bb99e91aa65f3db8..733749548dd718174d175469f6a057e2fed97c38 100644 --- a/src/cooling/EAGLE/cooling.h +++ b/src/cooling/EAGLE/cooling.h @@ -64,7 +64,7 @@ float cooling_get_temperature( const struct unit_system *restrict us, const struct cosmology *restrict cosmo, const struct cooling_function_data *restrict cooling, - const struct part *restrict p, struct xpart *restrict xp); + const struct part *restrict p, const struct xpart *restrict xp); float cooling_get_radiated_energy(const struct xpart *restrict xp);