aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOHDF5/src
diff options
context:
space:
mode:
authorRoland Haas <roland.haas@physics.gatech.edu>2011-02-25 08:42:57 -0500
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:26:02 +0000
commit6067109fee05c1106f388178ea7183fb268e7aaf (patch)
tree20f48537c0c3ff3cb27c7187b88eee62d44ccbe1 /Carpet/CarpetIOHDF5/src
parent238189e61a4f743f3ba1b0fc981ce8557c932e11 (diff)
CarpetIOHDF5: make sliced 3D output depend on out3D_XXX
rather than always ocuring together with the old-style 3D output.
Diffstat (limited to 'Carpet/CarpetIOHDF5/src')
-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 4ee4ffe26..a87fe0a79 100644
--- a/Carpet/CarpetIOHDF5/src/OutputSlice.cc
+++ b/Carpet/CarpetIOHDF5/src/OutputSlice.cc
@@ -30,7 +30,7 @@ namespace Carpet {
#define GetParameter(parameter) \
outdim == 0 ? out0D_##parameter : \
outdim == 1 ? out1D_##parameter : \
- outdim == 2 ? out2D_##parameter : out_##parameter
+ outdim == 2 ? out2D_##parameter : out3D_##parameter
namespace CarpetIOHDF5 {