aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetInterp2
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetInterp2')
-rw-r--r--Carpet/CarpetInterp2/src/fasterp.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetInterp2/src/fasterp.cc b/Carpet/CarpetInterp2/src/fasterp.cc
index 1bea555f4..00a667f02 100644
--- a/Carpet/CarpetInterp2/src/fasterp.cc
+++ b/Carpet/CarpetInterp2/src/fasterp.cc
@@ -756,12 +756,12 @@ namespace CarpetInterp2 {
#ifndef NDEBUG
vector<bool> received (npoints);
fill (received, false);
-#pragma omp parallel for
+ // NOTE: Can't use OMP parallel here -- vector<bool> has the
+ // wrong memory layout for this
for (int n=0; n<npoints; ++n) {
assert (not received.AT(n));
received.AT(n) = true;
}
-#pragma omp parallel for
for (int n=0; n<npoints; ++n) {
assert (received.AT(n));
}