aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet
diff options
context:
space:
mode:
authorRoland Haas <roland.haas@physics.gatech.edu>2012-09-17 23:07:48 -0700
committerRoland Haas <roland.haas@physics.gatech.edu>2012-09-18 08:16:28 -0700
commitb57036c3544ed617bdf44737b2503cf3abc6ec37 (patch)
treeadc4c454a8fc40a24683c26cc31489e0835d3f66 /Carpet/Carpet
parent8496cf3fd9417c64cd1d1a48386e3b308a28fbfc (diff)
Carpet: fix mg level count typo during intialization
this caused the initial time levels to always have t=0 associated with them
Diffstat (limited to 'Carpet/Carpet')
-rw-r--r--Carpet/Carpet/src/Initialise.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/Initialise.cc b/Carpet/Carpet/src/Initialise.cc
index ec007a882..a0c84d5a0 100644
--- a/Carpet/Carpet/src/Initialise.cc
+++ b/Carpet/Carpet/src/Initialise.cc
@@ -74,7 +74,7 @@ namespace Carpet {
do_late_meta_mode = true;
global_time = cctk_initial_time;
delta_time = 1.0;
- for (int ml = 0; ml < mglevel; ++ ml) {
+ for (int ml = 0; ml < mglevels; ++ ml) {
// assert (leveltimes.AT(ml).size() == 1);
// leveltimes.AT(ml).AT(0) = global_time;
for (int rl = 0; rl < reflevels; ++ rl) {