aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc')
-rw-r--r--Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc b/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc
index 909764b46..85b10c229 100644
--- a/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc
+++ b/Carpet/CarpetIOHDF5/src/CarpetIOHDF5.cc
@@ -871,7 +871,7 @@ static int OutputVarAs (const cGH* const cctkGH, const char* const fullname,
groupdata.disttype == CCTK_DISTRIB_CONSTANT) {
error_count += WriteVarUnchunked (cctkGH, file, io_bytes, r, false);
} else if (CCTK_EQUALS (out_mode, "onefile")) {
- error_count += WriteVarChunkedSequential (cctkGH, file, io_bytes, r, false);
+ error_count += WriteVarChunkedSequential (cctkGH, file, io_bytes, r, false, index_file);
} else {
error_count += WriteVarChunkedParallel (cctkGH, file, io_bytes, r, false, index_file);
}