Commit 7c088344 authored by James Willis's avatar James Willis
Browse files

Modified ifdef macro as GADGET_SPH now has a vectorised density version.

parent 537db832
...@@ -354,7 +354,7 @@ int main(int argc, char *argv[]) { ...@@ -354,7 +354,7 @@ int main(int argc, char *argv[]) {
const ticks tic = getticks(); const ticks tic = getticks();
#if defined(DEFAULT_SPH) || !defined(WITH_VECTORIZATION) #if defined(DEFAULT_SPH) || defined(GADGET2_SPH)
/* Run all the pairs */ /* Run all the pairs */
for (int j = 0; j < 27; ++j) for (int j = 0; j < 27; ++j)
...@@ -390,7 +390,7 @@ int main(int argc, char *argv[]) { ...@@ -390,7 +390,7 @@ int main(int argc, char *argv[]) {
const ticks tic = getticks(); const ticks tic = getticks();
#if defined(DEFAULT_SPH) || !defined(WITH_VECTORIZATION) #if defined(DEFAULT_SPH) || defined(GADGET2_SPH)
/* Run all the brute-force pairs */ /* Run all the brute-force pairs */
for (int j = 0; j < 27; ++j) for (int j = 0; j < 27; ++j)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment