[MOAB-dev] r3882 - MOAB/trunk/src/moab
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Tue May 11 16:04:27 CDT 2010
Author: kraftche
Date: 2010-05-11 16:04:27 -0500 (Tue, 11 May 2010)
New Revision: 3882
Modified:
MOAB/trunk/src/moab/Range.hpp
Log:
fix bug in previous checkin (new template insertion method)
Modified: MOAB/trunk/src/moab/Range.hpp
===================================================================
--- MOAB/trunk/src/moab/Range.hpp 2010-05-11 19:07:20 UTC (rev 3881)
+++ MOAB/trunk/src/moab/Range.hpp 2010-05-11 21:04:27 UTC (rev 3882)
@@ -824,7 +824,7 @@
std::copy( begin_iter, end_iter, sorted );
std::sort( sorted, sorted + n );
iterator hint = begin();
- size_t i;
+ size_t i = 0;
while (i < n) {
size_t j = i + 1;
while (j < n && sorted[j] == 1+sorted[j-1])
More information about the moab-dev
mailing list