Skip to content

Commit fbbb087

Browse files
committed
type id type fixed.
1 parent f2ba022 commit fbbb087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

escriptcore/src/DataFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ Data load_hdf5grp(const H5::Group h5_grp, const AbstractDomain& domain)
459459
// .. type id:
460460
H5::Attribute h5_attr_type(h5_meta_data.openAttribute("type_id"));
461461
H5::DataType h5_type_type(h5_attr_type.getDataType());
462-
if ( h5_type_type != H5::PredType::NATIVE_UINT ) {
462+
if ( h5_type_type != H5::PredType::NATIVE_INT ) {
463463
throw DataException("Error - load_hdf5: illegal type_id data type in HDF5 file.");
464464
}
465465
if ( h5_attr_type.getStorageSize() != 1 * h5_type_type.getSize() ) {

0 commit comments

Comments
 (0)