aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/Checksum.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@aei.mpg.de>2005-02-01 21:43:00 +0000
committerErik Schnetter <schnetter@aei.mpg.de>2005-02-01 21:43:00 +0000
commitf4b0b3cee308b7f459bcf1294d2073482ff07869 (patch)
tree470e3ecaf34c16324dc634e2f6064f24d3ead8c7 /Carpet/Carpet/src/Checksum.cc
parent7ce83e8541912e17d9981eb4446de0078613abbf (diff)
global: Replace "&&" and "||" by "and" and "or"
darcs-hash:20050201214347-891bb-286c20316478d9f1c8384f94764174cab5adb9e0.gz
Diffstat (limited to 'Carpet/Carpet/src/Checksum.cc')
-rw-r--r--Carpet/Carpet/src/Checksum.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/Checksum.cc b/Carpet/Carpet/src/Checksum.cc
index 8375150d3..1827ef212 100644
--- a/Carpet/Carpet/src/Checksum.cc
+++ b/Carpet/Carpet/src/Checksum.cc
@@ -47,7 +47,7 @@ namespace Carpet {
for (int group=0; group<CCTK_NumGroups(); ++group) {
if (CCTK_QueryGroupStorageI(cgh, group)) {
const int grouptype = CCTK_GroupTypeI(group);
- if (reflevel == 0 || grouptype == CCTK_GF) {
+ if (reflevel == 0 or grouptype == CCTK_GF) {
checksums.at(reflevel).at(mglevel).at(group).a.resize(arrdata.at(group).size());
BEGIN_MAP_LOOP(cgh, grouptype) {
checksums.at(reflevel).at(mglevel).at(group).a.at(map).resize(arrdata.at(group).at(map).hh->components(reflevel));
@@ -113,7 +113,7 @@ namespace Carpet {
for (int group=0; group<CCTK_NumGroups(); ++group) {
if (CCTK_QueryGroupStorageI(cgh, group)) {
const int grouptype = CCTK_GroupTypeI(group);
- if (reflevel == 0 || grouptype == CCTK_GF) {
+ if (reflevel == 0 or grouptype == CCTK_GF) {
assert (checksums.at(reflevel).at(mglevel).at(group).a.size()==arrdata.at(group).size());
BEGIN_MAP_LOOP(cgh, grouptype) {
assert ((int)checksums.at(reflevel).at(mglevel).at(group).a.at(map).size()==arrdata.at(group).at(map).hh->components(reflevel));