diff --git a/Octree/include/CGAL/Octree/Octree_node.h b/Octree/include/CGAL/Octree/Octree_node.h index 5a22793ef2a..86f1459adf3 100644 --- a/Octree/include/CGAL/Octree/Octree_node.h +++ b/Octree/include/CGAL/Octree/Octree_node.h @@ -158,7 +158,9 @@ namespace CGAL { // Check all the children for (int i = 0; i < 8; ++i) { - // TODO + // If any child cell is different, they're not the same + if (!((*m_children)[i] == rhs[i])) + return false; } }