From 5c966fdf0528ec06a1d71606ad8d09995d95568c Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Wed, 17 Feb 2016 14:33:48 +0000 Subject: [PATCH] Compliation problem in DEFAULT_SPH --- src/hydro/Default/hydro.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/hydro/Default/hydro.h b/src/hydro/Default/hydro.h index 97357f4266..466bc72757 100644 --- a/src/hydro/Default/hydro.h +++ b/src/hydro/Default/hydro.h @@ -211,9 +211,12 @@ __attribute__((always_inline)) * @brief Kick the additional variables * * @param p The particle to act upon + * @param xp The particle extended data to act upon + * @param dt The time-step for this kick + * @param half_dt The half time-step for this kick */ -__attribute__((always_inline)) - INLINE static void hydro_kick_extra(struct part* p, float dt) {} +__attribute__((always_inline)) INLINE static void hydro_kick_extra( + struct part* p, struct xpart* xp, float dt, float half_dt) { } /** * @brief Converts hydro quantity of a particle -- GitLab