Skip to content

Commit 5d77696

Browse files
committed
actually let's not use this
1 parent 40a6294 commit 5d77696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/trees/edge_cd.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ template<class F, class G> struct edge_cd {
4444
if (siz <= 2) return;
4545
v = find_cent(v, -1, siz);
4646
int sum = 0;
47-
auto it = ranges::partition(adj[v], [&](int u) {
47+
auto it = partition(all(adj[v]), [&](int u) {
4848
bool ret = 2 * sum + sub_sz[u] < siz - 1 &&
4949
3 * (sum + sub_sz[u]) <= 2 * (siz - 1);
5050
if (ret) sum += sub_sz[u];

0 commit comments

Comments
 (0)