diff options
Diffstat (limited to 'src/util/hdf5_convert_from_sdf.c')
-rw-r--r-- | src/util/hdf5_convert_from_sdf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/hdf5_convert_from_sdf.c b/src/util/hdf5_convert_from_sdf.c index dcd5da5..9236faf 100644 --- a/src/util/hdf5_convert_from_sdf.c +++ b/src/util/hdf5_convert_from_sdf.c @@ -174,7 +174,7 @@ int main (int argc, char **argv) /* convert from int to hsize_t */ for (j = 0; j < rank; j++) { - hdf5Dims[j] = dims[j]; + hdf5Dims[rank-j-1] = dims[j]; } CHECK_ERROR (dataspace = H5Screate_simple (rank, hdf5Dims, NULL)); |