aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetInterp/src/interp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetInterp/src/interp.cc')
-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 9915814ec..7e1050e3b 100644
--- a/Carpet/CarpetInterp/src/interp.cc
+++ b/Carpet/CarpetInterp/src/interp.cc
@@ -589,7 +589,7 @@ namespace CarpetInterp {
assert (vtypesize > 0);
vector<char> outputs_buffer (N_points_local * N_output_arrays * vtypesize);
vector<char*> outputs (homecnts.size());
- vector<CCTK_INT> status_and_retval_buffer (2 * dist::size());
+ vector<CCTK_INT> status_and_retval_buffer (2 * dist::size(), 0);
CCTK_INT* per_proc_statuses = &status_and_retval_buffer.front();
CCTK_INT* per_proc_retvals = per_proc_statuses + dist::size();