[MOAB-dev] r2992 - MOAB/trunk
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Fri Jul 10 12:20:31 CDT 2009
Author: kraftche
Date: 2009-07-10 12:20:31 -0500 (Fri, 10 Jul 2009)
New Revision: 2992
Modified:
MOAB/trunk/ReadHDF5.cpp
Log:
fix bug reading file containing a very large ranged entity set (very large == millions of *ranges*)
Modified: MOAB/trunk/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/ReadHDF5.cpp 2009-07-10 15:28:22 UTC (rev 2991)
+++ MOAB/trunk/ReadHDF5.cpp 2009-07-10 17:20:31 UTC (rev 2992)
@@ -1931,7 +1931,7 @@
assert( 0 == content_size % 2 ); // otherwise problems with ranged data
long rem_contents = offset_buffer[offset+1] - offset_buffer[offset];
long set_offset = 0;
- const bool ranged = !ranged_ids.empty() && ((long)ranged_ids.front() == start);
+ const bool ranged = !ranged_ids.empty() && ((long)ranged_ids.front() == file_id);
if (ranged)
ranged_ids.pop_front();
while (rem_contents) {
More information about the moab-dev
mailing list