aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/gdata.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/gdata.cc')
-rw-r--r--Carpet/CarpetLib/src/gdata.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/gdata.cc b/Carpet/CarpetLib/src/gdata.cc
index 05a5f0534..156e9cbbd 100644
--- a/Carpet/CarpetLib/src/gdata.cc
+++ b/Carpet/CarpetLib/src/gdata.cc
@@ -159,7 +159,8 @@ allocated_memory_shape (vect<int,D> shape)
#if VECTORISE_ALIGNED_ARRAYS
// Enlarge shape in the x direction to ensure it is a multiple of
// the vector size
-#warning "TODO: Support other datatypes as well, don't target only CCTK_REAL"
+ // TODO: Support other datatypes as well, don't target only
+ // CCTK_REAL
if (sizeof(CCTK_REAL) * CCTK_REAL_VEC_SIZE == magic_size) {
CCTK_VWarn (CCTK_WARN_ABORT, __LINE__, __FILE__, CCTK_THORNSTRING,
"The build-time option VECTORISE_ALIGNED_ARRAYS requires that the size of a grid variable in the x direction is a multiple of %d bytes, while the run-time parameter avoid_arraysize_bytes=%d requests the opposite. This is inconsistent -- aborting",