From df10732a789e419eaad4b331451402c1ea81c31b Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Thu, 15 Mar 2018 15:57:06 +0100 Subject: [PATCH] Allow the code to compile with non-Gadget SPH and vectorization switched on. --- src/runner_doiact_vec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runner_doiact_vec.c b/src/runner_doiact_vec.c index 0daea0cf8a..2e86280d64 100644 --- a/src/runner_doiact_vec.c +++ b/src/runner_doiact_vec.c @@ -1689,7 +1689,7 @@ void runner_dopair_subset_density_vec(struct runner *r, struct cell *restrict cj, const int sid, const int flipped, const double *shift) { -#ifdef WITH_VECTORIZATION +#if defined(WITH_VECTORIZATION) && defined(GADGET2_SPH) TIMER_TIC; -- GitLab