From 7c0883445de9728414e6579523cb7994aef8bb7f Mon Sep 17 00:00:00 2001
From: James Willis <james.s.willis@durham.ac.uk>
Date: Thu, 21 Jul 2016 10:01:55 +0100
Subject: [PATCH] Modified ifdef macro as GADGET_SPH now has a vectorised
 density version.

---
 tests/test27cells.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test27cells.c b/tests/test27cells.c
index 6f5de58d39..b0767f2fc0 100644
--- a/tests/test27cells.c
+++ b/tests/test27cells.c
@@ -354,7 +354,7 @@ int main(int argc, char *argv[]) {
 
     const ticks tic = getticks();
 
-#if defined(DEFAULT_SPH) || !defined(WITH_VECTORIZATION)
+#if defined(DEFAULT_SPH) || defined(GADGET2_SPH)
 
     /* Run all the pairs */
     for (int j = 0; j < 27; ++j)
@@ -390,7 +390,7 @@ int main(int argc, char *argv[]) {
 
   const ticks tic = getticks();
 
-#if defined(DEFAULT_SPH) || !defined(WITH_VECTORIZATION)
+#if defined(DEFAULT_SPH) || defined(GADGET2_SPH)
 
   /* Run all the brute-force pairs */
   for (int j = 0; j < 27; ++j)
-- 
GitLab