diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-10-01 11:56:19 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-10-01 16:57:14 -0500 |
commit | bc031aab4bc2bcb04fbd0c95726366aabf65b53b (patch) | |
tree | 7f606c23557d583686297c7af0357f3ad27fe9e8 /Carpet | |
parent | e3973dfc2e0e90d9b0f2482243b4cd652cc9f4d2 (diff) |
CarpetLib: Correct error check of OpenMP parallelisation
Diffstat (limited to 'Carpet')
-rw-r--r-- | Carpet/CarpetLib/src/data.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/data.cc b/Carpet/CarpetLib/src/data.cc index 608b78cb5..f3cdb59d7 100644 --- a/Carpet/CarpetLib/src/data.cc +++ b/Carpet/CarpetLib/src/data.cc @@ -55,7 +55,7 @@ call_operator (void #ifndef _OPENMP (* the_operator) (src, srcext, dst, dstext, srcbbox, dstbbox, regbbox); #else -# if ! defined (CARPET_OPTIMISE) +# if ! defined (NDEBUG) && ! defined (CARPET_OPTIMISE) ibset allregbboxes; # endif #pragma omp parallel @@ -89,7 +89,7 @@ call_operator (void # endif } } -# if ! defined (CARPET_OPTIMISE) +# if ! defined (NDEBUG) && ! defined (CARPET_OPTIMISE) if (not (allregbboxes == ibset (regbbox))) { allregbboxes.normalize(); cout << "allregbboxes=" << allregbboxes << endl |