Add fixes to handle missing data correctly

This commit is contained in:
Magne Sjaastad committed 2024-01-19 11:53:06 +01:00
1 parent 33f18a7c8f
commit 12ca418ef0
2 files changed
+3

No files matched your search

@@ -716,6 +716,7 @@ std::string AABBTree::treeInfo() const
{
size_t treeSizeInMB = treeSize() / (1024u *1024u);
auto text = "Tree size : " + std::to_string(treeSizeInMB) + "[MB] \n";
if (treeSize() == 0) return text;
text += "Num leaves: " + std::to_string(leavesCount()) + "\n";