1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-12-31 16:45:59 +01:00
This commit is contained in:
Anthony Scemama 2021-03-29 00:34:41 +02:00
parent 3f2261ea9b
commit 086a34d5b1

View File

@ -332,7 +332,7 @@ trexio_exit_code trexio_hdf5_write_$group$_$group_dset$(trexio_t* const file, co
if ( H5LTfind_dataset(f->$group$_group, $GROUP$_$GROUP_DSET$_NAME) != 1) {
status = H5LTmake_dataset_$group_dset_h5_dtype$ (f->$group$_group, $GROUP$_$GROUP_DSET$_NAME,
(int) rank, (hsize_t*) dims, $group_dset$);
(int) rank, (const hsize_t*) dims, $group_dset$);
if (status < 0) return TREXIO_FAILURE;
} else {