From 545265f2f3992e15c45f1bbb99e04a27e1fc7856 Mon Sep 17 00:00:00 2001 From: mzuenni Date: Sun, 30 Jun 2024 00:26:10 +0200 Subject: improvements --- graph/cycleCounting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graph/cycleCounting.cpp') diff --git a/graph/cycleCounting.cpp b/graph/cycleCounting.cpp index 9772706..bd7a219 100644 --- a/graph/cycleCounting.cpp +++ b/graph/cycleCounting.cpp @@ -39,7 +39,7 @@ struct cylces { //cycle must be constrcuted from base bool isCycle(cycle cur) { if (cur.none()) return false; - init(sz(adj)); // union find + init(sz(adj)); // union find @\sourceref{datastructures/unionFind.cpp}@ for (int i = 0; i < sz(edges); i++) { if (cur[i]) { cur[i] = false; -- cgit v1.2.3