aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/Timing.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-02-27 23:06:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-02-27 23:06:00 +0000
commitc86b8e1b4d124a852c2078f18219c3e5adf4820d (patch)
treec41c25ecce3369d11e086ab42fcd68eee5340378 /Carpet/Carpet/src/Timing.cc
parent9746b0bf01491f560ca756534eb6db67b450fb5d (diff)
Carpet: Correct error in grid point update counting
darcs-hash:20070227230640-dae7b-ad3ebb0947c4824925b598a902bd6fb7e9f04ed0.gz
Diffstat (limited to 'Carpet/Carpet/src/Timing.cc')
-rw-r--r--Carpet/Carpet/src/Timing.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/Timing.cc b/Carpet/Carpet/src/Timing.cc
index 94e7248b3..2e3bdb754 100644
--- a/Carpet/Carpet/src/Timing.cc
+++ b/Carpet/Carpet/src/Timing.cc
@@ -150,8 +150,8 @@ namespace Carpet {
{
int local_updates, global_updates;
current_level_updates (cctkGH, local_updates, global_updates);
- total_local_updates = local_updates;
- total_global_updates = global_updates;
+ total_local_updates += local_updates;
+ total_global_updates += global_updates;
}