Commit 7db676d5 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Same for the serial_io version

parent ae75140e
......@@ -202,7 +202,7 @@ void prepareArray(hid_t grp, char* fileName, FILE* xmfFile, char* name,
/* Make sure the chunks are not larger than the dataset */
if (chunk_shape[0] > N) chunk_shape[0] = N;
if (chunk_shape[0] > N_total) chunk_shape[0] = N_total;
/* Change shape of data space */
h_err = H5Sset_extent_simple(h_space, rank, shape, NULL);
Supports Markdown
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