Skip to content

Commit e9e1681

Browse files
committed
switch another place
1 parent ee1a2ae commit e9e1681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/trees/ladder_decomposition/ladder_decomposition.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ struct ladder {
1515
//! @param adj forest (rooted or unrooted)
1616
//! @time O(n log n)
1717
//! @space O(n log n) for b_tbl. Everything else is O(n)
18-
ladder(const vector<vi>& adj):
18+
ladder(const auto& adj):
1919
n(sz(adj)), d(n), p(n, -1), dl(n), idx_l(n) {
2020
auto dfs = [&](auto&& self, int v) -> void {
2121
dl[v] = v;

0 commit comments

Comments
 (0)