Skip to content
Snippets Groups Projects
Commit 8febf700 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fix compilation of grackle cooling with GCC

parent 5aa9805b
No related branches found
No related tags found
No related merge requests found
......@@ -264,8 +264,8 @@ void cooling_first_init_part(const struct phys_const* restrict phys_const,
* @param p The particle.
* @param xp The extended particle data.
*/
INLINE static float cooling_get_subgrid_temperature(const struct part* p,
const struct xpart* xp) {
float cooling_get_subgrid_temperature(const struct part* p,
const struct xpart* xp) {
error("This cooling model does not use subgrid quantities!");
return -1.f;
}
......@@ -278,8 +278,8 @@ INLINE static float cooling_get_subgrid_temperature(const struct part* p,
* @param p The particle.
* @param xp The extended particle data.
*/
INLINE static float cooling_get_subgrid_density(const struct part* p,
const struct xpart* xp) {
float cooling_get_subgrid_density(const struct part* p,
const struct xpart* xp) {
error("This cooling model does not use subgrid quantities!");
return -1.f;
}
......
......@@ -23,6 +23,7 @@
#include "cooling_properties.h"
#include "cooling_struct.h"
#include "io_properties.h"
#include "physical_constants.h"
#ifdef HAVE_HDF5
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment