aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOHDF5
diff options
context:
space:
mode:
authorroland haas <roland.haas@physics.gatech.edu>2011-06-04 19:21:36 -0400
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:26:22 +0000
commit5b214c94c961482a80b45c8c2e0a6e8d977aeb88 (patch)
treecf55fc6665c44abad4d55afec85ff30b69203f5c /Carpet/CarpetIOHDF5
parent47635d8f07726cffe69da5741166d23ff6d2297f (diff)
CarpetIOHDF5: avoid accessing non existend refinement levels for grid arrays
Diffstat (limited to 'Carpet/CarpetIOHDF5')
-rw-r--r--Carpet/CarpetIOHDF5/src/OutputSlice.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetIOHDF5/src/OutputSlice.cc b/Carpet/CarpetIOHDF5/src/OutputSlice.cc
index 90e9539bc..76ef51e3a 100644
--- a/Carpet/CarpetIOHDF5/src/OutputSlice.cc
+++ b/Carpet/CarpetIOHDF5/src/OutputSlice.cc
@@ -563,7 +563,7 @@ namespace CarpetIOHDF5 {
// re-compute the active (non-buffere) region
ibset allactive;
- GetAllActive (dd, hh, m, reflevel, allactive);
+ GetAllActive (dd, hh, m, rl, allactive);
// Traverse all components on this multigrid level, refinement
// level, and map