[MOAB-dev] r2078 - MOAB/trunk/parallel
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Tue Sep 23 10:34:36 CDT 2008
Author: tautges
Date: 2008-09-23 10:34:36 -0500 (Tue, 23 Sep 2008)
New Revision: 2078
Modified:
MOAB/trunk/parallel/MBParallelComm.cpp
Log:
Somehow an initialization got removed.
Modified: MOAB/trunk/parallel/MBParallelComm.cpp
===================================================================
--- MOAB/trunk/parallel/MBParallelComm.cpp 2008-09-23 14:51:28 UTC (rev 2077)
+++ MOAB/trunk/parallel/MBParallelComm.cpp 2008-09-23 15:34:36 UTC (rev 2078)
@@ -226,7 +226,7 @@
MBRange dum_range;
MBRange::iterator rit;
unsigned int i;
- for (rit = entities[dim].begin(); rit != entities[dim].end(); rit++, i++)
+ for (rit = entities[dim].begin(), i = 0; rit != entities[dim].end(); rit++, i++)
if (pstatus[i] & PSTATUS_NOT_OWNED)
dum_range.insert(*rit);
entities[dim] = entities[dim].subtract(dum_range);
More information about the moab-dev
mailing list