aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/gh.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2006-09-28 03:35:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2006-09-28 03:35:00 +0000
commit69a0051ed6d53f6445d73216e5cb35900a85e67c (patch)
tree3a3f36ff1f86f21c73ba424a3f01fd3e6d36966b /Carpet/CarpetLib/src/gh.cc
parent44ddb460c77695935de4d408d089946b26cdba94 (diff)
CarpetLib: Correct error in determining whether a grid structure changed
Correct serious error in determining whether a grid structure changed. darcs-hash:20060928033543-dae7b-950620f6f66b1708929e1432d9158d2354ebe41e.gz
Diffstat (limited to 'Carpet/CarpetLib/src/gh.cc')
-rw-r--r--Carpet/CarpetLib/src/gh.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/Carpet/CarpetLib/src/gh.cc b/Carpet/CarpetLib/src/gh.cc
index 0e59a9f67..95b216a08 100644
--- a/Carpet/CarpetLib/src/gh.cc
+++ b/Carpet/CarpetLib/src/gh.cc
@@ -121,9 +121,7 @@ bool gh::level_did_change (const int rl) const
return true;
}
for (int c=0; c<components(rl); ++c) {
- if (_extents.at(ml).at(rl).at(c).size() !=
- _oldextents.at(ml).at(rl).at(c).size())
- {
+ if (_extents.at(ml).at(rl).at(c) != _oldextents.at(ml).at(rl).at(c)) {
return true;
}
if (_processors.at(rl).at(c) != _oldprocessors.at(rl).at(c)) return true;