summaryrefslogtreecommitdiff
path: root/content/graph/cycleCounting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'content/graph/cycleCounting.cpp')
-rw-r--r--content/graph/cycleCounting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/graph/cycleCounting.cpp b/content/graph/cycleCounting.cpp
index 65bf1a0..deac71e 100644
--- a/content/graph/cycleCounting.cpp
+++ b/content/graph/cycleCounting.cpp
@@ -36,7 +36,7 @@ struct cycles {
cur[id].flip();
}}}
- bool isCycle(cycle cur) { // cycle must be constrcuted from base
+ bool isCycle(cycle cur) {// cycle must be constructed from base
if (cur.none()) return false;
init(ssize(adj)); // union find @\sourceref{datastructures/unionFind.cpp}@
for (int i = 0; i < ssize(edges); i++) {