Skip to content

Commit

Permalink
Fixed typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn-martinsson committed Sep 25, 2023
1 parent 6fc2a9a commit 4a73595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyrival/graphs/binary_lifting_on_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
4. Compute the sum/min/max/... of the weight
of a path between a pair of nodes in O(log n) time.
res = Path[0]
res = data[Path[0]]
for node in Path[1:]:
res = f(res, data[node])
return res
Expand Down

0 comments on commit 4a73595

Please sign in to comment.