[ET Trac] [Einstein Toolkit] #1849: CarpetIOHDF5: fix check for old string datatype

Einstein Toolkit trac-noreply at einsteintoolkit.org
Fri Dec 11 13:27:49 CST 2015


#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
 }}}

-- 
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1849#comment:2>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit


More information about the Trac mailing list