[MOAB-dev] r1725 - MOAB/trunk

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Mon Mar 31 12:11:09 CDT 2008


Author: kraftche
Date: 2008-03-31 12:11:09 -0500 (Mon, 31 Mar 2008)
New Revision: 1725

Modified:
   MOAB/trunk/MBAdaptiveKDTree.cpp
Log:
fix bug

Modified: MOAB/trunk/MBAdaptiveKDTree.cpp
===================================================================
--- MOAB/trunk/MBAdaptiveKDTree.cpp	2008-03-31 17:01:06 UTC (rev 1724)
+++ MOAB/trunk/MBAdaptiveKDTree.cpp	2008-03-31 17:11:09 UTC (rev 1725)
@@ -1060,7 +1060,7 @@
       }
     }
   
-    for (unsigned p = 0; p <= indices.size(); ++p) {
+    for (unsigned p = 0; p < indices.size(); ++p) {
       
       MBAdaptiveKDTree::Plane plane = { coords[indices[p]], axis };
       MBRange left, right, both;




More information about the moab-dev mailing list