[MOAB-dev] r4894 - MOAB/trunk/src
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Tue May 31 10:32:12 CDT 2011
Author: kraftche
Date: 2011-05-31 10:32:11 -0500 (Tue, 31 May 2011)
New Revision: 4894
Modified:
MOAB/trunk/src/ReorderTool.cpp
Log:
fix bug in ReorderTool
Modified: MOAB/trunk/src/ReorderTool.cpp
===================================================================
--- MOAB/trunk/src/ReorderTool.cpp 2011-05-31 14:47:56 UTC (rev 4893)
+++ MOAB/trunk/src/ReorderTool.cpp 2011-05-31 15:32:11 UTC (rev 4894)
@@ -240,7 +240,7 @@
{
std::vector<EntityHandle>::const_iterator i1, i2;
for (i1 = v1->begin(), i2 = v2->begin(); i1 != v1->end(); ++i1, ++i2) {
- if (*i1 > *i2 || i2 == v2->end())
+ if (i2 == v2->end() || *i1 > *i2)
return false;
else if (*i1 < *i2)
return true;
More information about the moab-dev
mailing list