[MOAB-dev] r2960 - MOAB/trunk

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Mon Jun 22 13:07:20 CDT 2009


Author: kraftche
Date: 2009-06-22 13:07:19 -0500 (Mon, 22 Jun 2009)
New Revision: 2960

Modified:
   MOAB/trunk/WriteHDF5.cpp
Log:
fix bug converting handles to h5m file ids

Modified: MOAB/trunk/WriteHDF5.cpp
===================================================================
--- MOAB/trunk/WriteHDF5.cpp	2009-06-22 17:55:39 UTC (rev 2959)
+++ MOAB/trunk/WriteHDF5.cpp	2009-06-22 18:07:19 UTC (rev 2960)
@@ -1217,7 +1217,7 @@
         continue;
       }
 
-      id_t n = pi->second - pi->first + 1;
+      id_t n = pi->second - h + 1;
       if (n > ri->count)
         n = ri->count;
 



More information about the moab-dev mailing list