#1849: CarpetIOHDF5: fix check for old string datatype ---------------------+------------------------------------------------------ Reporter: knarf | Owner: eschnett Type: defect | Status: review Priority: minor | Milestone: Component: Carpet | Version: development version Resolution: | Keywords: hdf5 ---------------------+------------------------------------------------------
Comment (by eschnett):
I think this should use {{{H5Tget_class}}} instead of {{{detect_class}}}. The latter is meant to recursively examine structures, not find the property of a single type.
{{{ H5Tget_class(datatype) == H5T_STRING }}}