Skip to content

Commit

Permalink
Use max_depth_reached() to get depth in equality operator
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonCampolattaro committed Aug 17, 2020
1 parent 1763564 commit d21f428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Octree/include/CGAL/Octree.h
Expand Up @@ -531,7 +531,7 @@ class Octree {
return false;

// Identical trees should have the same depth
if (rhs.m_max_depth_reached != m_max_depth_reached)
if (rhs.max_depth_reached() != max_depth_reached())
return false;

// If all else is equal, recursively compare the trees themselves
Expand Down

0 comments on commit d21f428

Please sign in to comment.