[MOAB-dev] r1723 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Fri Mar 28 20:06:32 CDT 2008


Author: kraftche
Date: 2008-03-28 20:06:32 -0500 (Fri, 28 Mar 2008)
New Revision: 1723

Modified:
   MOAB/trunk/WriteHDF5.cpp
Log:
fix bug writing tag data

Modified: MOAB/trunk/WriteHDF5.cpp
===================================================================
--- MOAB/trunk/WriteHDF5.cpp	2008-03-28 23:11:46 UTC (rev 1722)
+++ MOAB/trunk/WriteHDF5.cpp	2008-03-29 01:06:32 UTC (rev 1723)
@@ -1129,7 +1129,7 @@
       if (n > ri->count)
         n = ri->count;
 
-      id_t id = ri->value - (h - ri->begin);
+      id_t id = ri->value + (h - ri->begin);
       for (id_t j = 0; j < n; ++i, ++j)
         *i = id + j;
       h += n;




More information about the moab-dev mailing list