aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/gdata.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-01-22 14:41:18 -0500
committerErik Schnetter <schnetter@gmail.com>2013-01-22 14:41:18 -0500
commitbcf3bb045b9b26b4daacf39584e6fc25c03da3ad (patch)
tree1718d35520a084eb1f795ec13c0c3d9979c8775f /Carpet/CarpetLib/src/gdata.cc
parent954c610f54667697a8a821370d09db04f54548ef (diff)
CarpetLib, LoopControl: Correct required/optional capabilities
Diffstat (limited to 'Carpet/CarpetLib/src/gdata.cc')
-rw-r--r--Carpet/CarpetLib/src/gdata.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/gdata.cc b/Carpet/CarpetLib/src/gdata.cc
index 0a3d81803..c26d374a1 100644
--- a/Carpet/CarpetLib/src/gdata.cc
+++ b/Carpet/CarpetLib/src/gdata.cc
@@ -158,7 +158,7 @@ allocated_memory_shape (vect<int,D> shape)
}
}
}
-#if VECTORISE_ALIGNED_ARRAYS
+#if VECTORISE && VECTORISE_ALIGNED_ARRAYS
// Enlarge shape in the x direction to ensure it is a multiple of
// the vector size
// TODO: Support other datatypes as well, don't target only