diff --git a/pyrival/graphs/binary_lifting_on_tree.py b/pyrival/graphs/binary_lifting_on_tree.py index cd31587..9b8b1b6 100644 --- a/pyrival/graphs/binary_lifting_on_tree.py +++ b/pyrival/graphs/binary_lifting_on_tree.py @@ -35,7 +35,7 @@ res = Path[0] for node in Path[1:]: - res = f(res, node) + res = f(res, data[node]) return res Example: