aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetInterp
diff options
context:
space:
mode:
authorChristian Reisswig <reisswig@tapir.caltech.edu>2012-06-04 07:56:51 -0700
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:22 +0100
commitf8631186ea6e25bbe375d94dc8b78bb33f318267 (patch)
tree91662b1dade130409b233d64cccb9761cfac9f7a /Carpet/CarpetInterp
parentccabaa78b032618b133fee610480d5f70ac2296f (diff)
CarpetInterp: "m" -> "mglevel" when accessing groupdata.AT(gi).activetimelevels.AT(mglevel).AT(rl) to find out how many active timelevels are available. When using "m", I get a std::vector out of range.
Diffstat (limited to 'Carpet/CarpetInterp')
-rw-r--r--Carpet/CarpetInterp/src/interp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetInterp/src/interp.cc b/Carpet/CarpetInterp/src/interp.cc
index a58c7d9d5..77e4fb4cb 100644
--- a/Carpet/CarpetInterp/src/interp.cc
+++ b/Carpet/CarpetInterp/src/interp.cc
@@ -1697,7 +1697,7 @@ namespace CarpetInterp {
// Are there enough time levels?
int const gi = CCTK_GroupIndexFromVarI (vi);
- int const active_tl = groupdata.AT(gi).activetimelevels.AT(m).AT(rl);
+ int const active_tl = groupdata.AT(gi).activetimelevels.AT(mglevel).AT(rl);
if (active_tl <= my_tl) {
char * const fullname = CCTK_FullName(vi);
CCTK_VWarn (0, __LINE__, __FILE__, CCTK_THORNSTRING,