mirror of https://github.com/CGAL/cgal
Adapt max level to old version
This commit is contained in:
parent
64693edffa
commit
fb86a45d47
|
|
@ -89,7 +89,7 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
std::size_t maxLevel() const {
|
std::size_t maxLevel() const {
|
||||||
return m_octree.max_depth_reached();
|
return m_octree.max_depth_reached() - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::size_t offset() const { return m_offset; }
|
std::size_t offset() const { return m_offset; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue