Commit 339e0de9 authored by Lukas Riedel's avatar Lukas Riedel 📝

dune-randomfield enforces HDF5 v1.6 API. explicitly call never functions

parent 28c1b388
......@@ -35,7 +35,7 @@ namespace Dune {
assert(h5_file_id > -1);
// open the group
h5_group_id = H5Gopen(h5_file_id, group_name.c_str(), H5P_DEFAULT);
h5_group_id = H5Gopen2(h5_file_id, group_name.c_str(), H5P_DEFAULT);
assert(h5_group_id > -1);
fileOpen = true;
......@@ -55,7 +55,7 @@ namespace Dune {
DUNE_THROW(Exception,"File must be opened before reading data");
// open the dataset
hid_t dataset_id = H5Dopen(h5_group_id, dataset_name.c_str(), H5P_DEFAULT);
hid_t dataset_id = H5Dopen2(h5_group_id, dataset_name.c_str(), H5P_DEFAULT);
assert( dataset_id > -1 );
// get the dataspace
......
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