summaryrefslogtreecommitdiff
path: root/graph/cycleCounting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graph/cycleCounting.cpp')
-rw-r--r--graph/cycleCounting.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/graph/cycleCounting.cpp b/graph/cycleCounting.cpp
index bd7a219..00ecc3a 100644
--- a/graph/cycleCounting.cpp
+++ b/graph/cycleCounting.cpp
@@ -1,12 +1,12 @@
constexpr int maxEdges = 128;
using cycle = bitset<maxEdges>;
-struct cylces {
+struct cycles {
vector<vector<pair<int, int>>> adj;
vector<bool> seen;
vector<cycle> paths, base;
vector<pair<int, int>> edges;
- cylces(int n) : adj(n), seen(n), paths(n) {}
+ cycles(int n) : adj(n), seen(n), paths(n) {}
void addEdge(int u, int v) {
adj[u].push_back({v, sz(edges)});