[MOAB-dev] r2734 - MOAB/trunk

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Fri Mar 20 12:38:57 CDT 2009


Author: kraftche
Date: 2009-03-20 12:38:57 -0500 (Fri, 20 Mar 2009)
New Revision: 2734

Modified:
   MOAB/trunk/MBBSPTree.hpp
Log:
fix minor bug and confusing comment

Modified: MOAB/trunk/MBBSPTree.hpp
===================================================================
--- MOAB/trunk/MBBSPTree.hpp	2009-03-20 15:57:20 UTC (rev 2733)
+++ MOAB/trunk/MBBSPTree.hpp	2009-03-20 17:38:57 UTC (rev 2734)
@@ -294,12 +294,12 @@
                                  const MBBSPTree::Plane& plane );
   
   static SideBits opposite_face( const SideBits& bits ) 
-    { return (SideBits)(~bits); }
+    { return (SideBits)((~bits) & 0xFF); }
   
   //! Advance the iterator either left or right in the tree
   //! Note:  stepping past the end of the tree will invalidate
-  //!        the iterator.  It will *not* be work step the
-  //!        other direction.
+  //!        the iterator.  It will *not* work to subsequently 
+  //!        step the other direction.
   virtual MBErrorCode step( Direction direction );
 
     //! Advance to next leaf



More information about the moab-dev mailing list