[MOAB-dev] r3931 - MOAB/trunk/src/io

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Thu May 20 16:33:53 CDT 2010


Author: kraftche
Date: 2010-05-20 16:33:53 -0500 (Thu, 20 May 2010)
New Revision: 3931

Modified:
   MOAB/trunk/src/io/ReadHDF5.cpp
Log:
fix bug in partial/parallel read of file with dense-formatted tag data

Modified: MOAB/trunk/src/io/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5.cpp	2010-05-20 17:51:11 UTC (rev 3930)
+++ MOAB/trunk/src/io/ReadHDF5.cpp	2010-05-20 21:33:53 UTC (rev 3931)
@@ -934,7 +934,7 @@
     }
     
     EntityHandle h = (EntityHandle)ents->start_id;
-    hint = file_ids.insert( hint, h, h + ents->count );
+    hint = file_ids.insert( hint, h, h + ents->count - 1 );
   }
   
   if (!tag.have_sparse)








































More information about the moab-dev mailing list