Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/highfive/bits/h5p_wrapper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
hbool_t* persist,
hsize_t* threshold) {
herr_t err = H5Pget_file_space_strategy(plist_id, strategy, persist, threshold);
if (err) {
HDF5ErrMapper::ToException<PropertyException>("Error setting file space strategy.");
if (err < 0) {
HDF5ErrMapper::ToException<PropertyException>("Error getting file space strategy.");

Check warning on line 36 in include/highfive/bits/h5p_wrapper.hpp

View check run for this annotation

Codecov / codecov/patch

include/highfive/bits/h5p_wrapper.hpp#L36

Added line #L36 was not covered by tests
}

return err;
Expand Down
Loading