Remove unnecessary abs (#5395)

Noticed while working on #5394
This commit is contained in:
Jon Ross-Perkins
2025-04-30 19:03:09 +00:00
committed by GitHub
parent 5226f3d14a
commit 64e0760275
+1 -1
View File
@@ -224,7 +224,7 @@ class TreeAndSubtrees::SiblingIterator
using iterator_facade_base::operator++;
auto operator++() -> SiblingIterator& {
node_.index -= std::abs(tree_->subtree_sizes_[node_.index]);
node_.index -= tree_->subtree_sizes_[node_.index];
return *this;
}