fixed the H5PART_HAVE_HDF5_18 logic to work with the 1.9 snapshot; fixed broken test in _H5Part_have_group in the codepath for HDF5 1.6
This commit is contained in:
+1
-1
@@ -2038,7 +2038,7 @@ _H5Part_have_group (
|
||||
#else
|
||||
herr_t exists = 0;
|
||||
H5E_BEGIN_TRY
|
||||
H5Gget_objinfo( id, name, 1, NULL );
|
||||
exists = H5Gget_objinfo( id, name, 1, NULL );
|
||||
H5E_END_TRY
|
||||
return (exists >= 0 ? 1 : 0);
|
||||
#endif
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
#define H5_USE_16_API
|
||||
#endif
|
||||
|
||||
#if H5_VERS_MAJOR == 1 && H5_VERS_MINOR == 8
|
||||
#if H5_VERS_MAJOR == 1 && H5_VERS_MINOR >= 8
|
||||
#define H5PART_HAVE_HDF5_18
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user