Skip to content

Commit

Permalink
Force use of HDF5 1.8 API.
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Sep 16, 2016
1 parent 7e3c0c6 commit f7e6e99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mdt_write_hdf5.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ static gboolean write_table(hid_t file_id, const struct mdt *mdt, int gzip,

ret = ret
&& (space_id = H5Screate_simple(mdt->base.nfeat, dims, NULL)) >= 0
&& (set_id = H5Dcreate(file_id, "/mdt", type_id, space_id, H5P_DEFAULT,
prop_id, H5P_DEFAULT)) >= 0
&& (set_id = H5Dcreate2(file_id, "/mdt", type_id, space_id, H5P_DEFAULT,
prop_id, H5P_DEFAULT)) >= 0
&& H5Dwrite(set_id, type_id, H5S_ALL, H5S_ALL, H5P_DEFAULT,
mdt->base.bindata) >= 0
&& H5Dclose(set_id) >= 0
Expand Down

0 comments on commit f7e6e99

Please sign in to comment.