Commit 908863cd authored by Michael Bareford's avatar Michael Bareford

Fixed bug such that size of allFirstDataDecomps is set from within CreateDataSets.

parent 0329a32f
...@@ -422,7 +422,6 @@ uint64_t FieldIOHdf5::v_Write(const std::string &outFilename, ...@@ -422,7 +422,6 @@ uint64_t FieldIOHdf5::v_Write(const std::string &outFilename,
if (rkFormatter == rk) if (rkFormatter == rk)
{ {
std::vector<uint64_t> allDataDecomps(DATA_DECOMP_SIZE*nTotFields); std::vector<uint64_t> allDataDecomps(DATA_DECOMP_SIZE*nTotFields);
allFirstDataDecomps.resize(DATA_DECOMP_SIZE*nranks);
nWritten += CreateDataSets(outFilename, rkFormatter, nTotFields, nWritten += CreateDataSets(outFilename, rkFormatter, nTotFields,
allFieldHashes, allFieldCounts, allFieldDecomps, allFieldHashes, allFieldCounts, allFieldDecomps,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment