From b668559da218505edae2f1b94d2d7bd0f8c15c0a Mon Sep 17 00:00:00 2001 From: loikki <loic.hausammann@protonmail.ch> Date: Thu, 9 Apr 2020 16:06:22 +0200 Subject: [PATCH] GEAR: fix define --- src/star_formation/GEAR/star_formation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/star_formation/GEAR/star_formation.h b/src/star_formation/GEAR/star_formation.h index 83be20c50b..82a43c9e1f 100644 --- a/src/star_formation/GEAR/star_formation.h +++ b/src/star_formation/GEAR/star_formation.h @@ -304,7 +304,7 @@ __attribute__((always_inline)) INLINE static void star_formation_end_density( /* Copy the velocity divergence */ xp->sf_data.div_v = p->viscosity.div_v; /* SPHENIX is already including the Hubble flow */ -#elif GADGET_SPH +#elif GADGET2_SPH /* Copy the velocity divergence */ xp->sf_data.div_v = p->density.div_v; xp->sf_data.div_v += hydro_dimension * cosmo->H; -- GitLab