diff options
Diffstat (limited to 'Carpet/CarpetSlab')
-rw-r--r-- | Carpet/CarpetSlab/src/GetHyperslab.cc | 2 | ||||
-rw-r--r-- | Carpet/CarpetSlab/src/slab.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetSlab/src/GetHyperslab.cc b/Carpet/CarpetSlab/src/GetHyperslab.cc index 4f6bb34a4..1c9e687cc 100644 --- a/Carpet/CarpetSlab/src/GetHyperslab.cc +++ b/Carpet/CarpetSlab/src/GetHyperslab.cc @@ -177,7 +177,7 @@ namespace CarpetSlab { // Done with the temporary stuff mydata = 0; - for (comm_state state(gp.vartype); !state.done(); state.step()) { + for (comm_state state; !state.done(); state.step()) { // Loop over all components, copying data from them BEGIN_LOCAL_COMPONENT_LOOP (cgh, gp.grouptype) { diff --git a/Carpet/CarpetSlab/src/slab.cc b/Carpet/CarpetSlab/src/slab.cc index be0e39674..70f97f257 100644 --- a/Carpet/CarpetSlab/src/slab.cc +++ b/Carpet/CarpetSlab/src/slab.cc @@ -209,7 +209,7 @@ namespace CarpetSlab { // Done with the temporary stuff mydata = 0; - for (comm_state state(gp.vartype); !state.done(); state.step()) { + for (comm_state state; !state.done(); state.step()) { // Loop over all components, copying data from them BEGIN_COMPONENT_LOOP (cgh, gp.grouptype) { |