mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
visitLeaves must visit all branches
This commit is contained in:
committed by
Vinnie Falco
parent
3e218c494d
commit
d0ca81ff36
@@ -73,7 +73,7 @@ void SHAMap::visitLeavesInternal (std::function<void (SHAMapItem::ref item)>& fu
|
||||
else
|
||||
{
|
||||
// If there are no more children, don't push this node
|
||||
while ((pos != 15) && (child->isEmptyBranch (pos)))
|
||||
while ((pos != 15) && (node->isEmptyBranch (pos + 1)))
|
||||
++pos;
|
||||
|
||||
if (pos != 15)
|
||||
|
||||
Reference in New Issue
Block a user