[MOAB-dev] r2082 - MOAB/trunk
kraftche at mcs.anl.gov
kraftche at mcs.anl.gov
Tue Sep 23 15:16:07 CDT 2008
Author: kraftche
Date: 2008-09-23 15:16:06 -0500 (Tue, 23 Sep 2008)
New Revision: 2082
Modified:
MOAB/trunk/SequenceManager.cpp
Log:
fix bug allocating handles in parallel mode
Modified: MOAB/trunk/SequenceManager.cpp
===================================================================
--- MOAB/trunk/SequenceManager.cpp 2008-09-23 18:22:32 UTC (rev 2081)
+++ MOAB/trunk/SequenceManager.cpp 2008-09-23 20:16:06 UTC (rev 2082)
@@ -455,7 +455,7 @@
if (start < MB_START_ID ||
!tsm.is_free_sequence( handle, count, data, size )) {
MBEntityHandle pstart = handleUtils.create_handle( type, MB_START_ID, proc );
- MBEntityHandle pend = handleUtils.create_handle( type, MB_END_ID, proc );
+ MBEntityHandle pend = handleUtils.create_handle( type, handleUtils.max_id(), proc );
handle = tsm.find_free_sequence( count, pstart, pend, data, data_size, size);
}
return handle;
More information about the moab-dev
mailing list