aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-01-12 21:23:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-01-12 21:23:00 +0000
commit7aa583d08f51b1ce0ac61a2e8cf549fd4090d810 (patch)
tree2b15efbb2e2abeadd75b3d77fe92be67351d615d /Carpet
parent4c946e2e43c0d24a906d0520416e39f1bebffdf9 (diff)
Carpet: Convert bool to int before adding values
darcs-hash:20070112212330-dae7b-80d0afa9f6ce3afd6b030ed62915585a97e7564b.gz
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/Carpet/src/CallFunction.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/Carpet/Carpet/src/CallFunction.cc b/Carpet/Carpet/src/CallFunction.cc
index c2143fb51..0c67de1b0 100644
--- a/Carpet/Carpet/src/CallFunction.cc
+++ b/Carpet/Carpet/src/CallFunction.cc
@@ -38,11 +38,11 @@ namespace Carpet {
cGH * cctkGH = static_cast<cGH *> (data);
- assert (not not attribute->meta +
- not not attribute->global +
- not not attribute->level +
- not not attribute->singlemap +
- not not attribute->local
+ assert (int (not not attribute->meta) +
+ int (not not attribute->global) +
+ int (not not attribute->level) +
+ int (not not attribute->singlemap) +
+ int (not not attribute->local)
<= 1);
assert (not not attribute->loop_global +