[MOAB-dev] r1402 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Fri Nov 16 10:49:13 CST 2007


Author: kraftche
Date: 2007-11-16 10:49:13 -0600 (Fri, 16 Nov 2007)
New Revision: 1402

Modified:
   MOAB/trunk/ReadHDF5.cpp
Log:
don't fail if file doesn't contain any vertices

Modified: MOAB/trunk/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/ReadHDF5.cpp	2007-11-16 16:36:23 UTC (rev 1401)
+++ MOAB/trunk/ReadHDF5.cpp	2007-11-16 16:49:13 UTC (rev 1402)
@@ -307,7 +307,7 @@
     nodeSet.first_id = std::numeric_limits<long>::max();
     nodeSet.type = MBVERTEX;
     nodeSet.type2 = mhdf_node_type_handle();
-    return MB_FAILURE;
+    return MB_SUCCESS;
   }
   
   if (cdim < dim)




More information about the moab-dev mailing list