[cig-commits] r18695 - short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/meshio
brad at geodynamics.org
brad at geodynamics.org
Wed Jul 6 09:41:19 PDT 2011
Author: brad
Date: 2011-07-06 09:41:18 -0700 (Wed, 06 Jul 2011)
New Revision: 18695
Modified:
short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/meshio/HDF5.cc
Log:
Removed superfluous checking of datatype in HDF5 file. Datatypes are converted automatically.
Modified: short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/meshio/HDF5.cc
===================================================================
--- short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/meshio/HDF5.cc 2011-07-06 13:47:34 UTC (rev 18694)
+++ short/3D/PyLith/branches/v1.6-stable/libsrc/pylith/meshio/HDF5.cc 2011-07-06 16:41:18 UTC (rev 18695)
@@ -454,9 +454,6 @@
if (dtype < 0)
throw std::runtime_error("Could not get datatype of");
- if (H5Tequal(dtype, datatype) <= 0)
- throw std::runtime_error("Wrong datatype specified for");
-
hid_t err = H5Aread(attribute, dtype, value);
if (err < 0)
throw std::runtime_error("Could not read");
More information about the CIG-COMMITS
mailing list