diff options
Diffstat (limited to 'Carpet/CarpetInterp')
-rw-r--r-- | Carpet/CarpetInterp/src/interp.cc | 2 |
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, |