summaryrefslogtreecommitdiff
path: root/graph/connect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graph/connect.cpp')
-rw-r--r--graph/connect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph/connect.cpp b/graph/connect.cpp
index c38b8bd..b25d844 100644
--- a/graph/connect.cpp
+++ b/graph/connect.cpp
@@ -23,7 +23,7 @@ struct connect {
void eraseEdge(ll id) {
if (connected(edges[id].first, edges[id].second) &&
- lct.query(&lct.nodes[edges[id].first],
+ lct.query(&lct.nodes[edges[id].first],
&lct.nodes[edges[id].second]) == id) {
lct.cut(&lct.nodes[edges[id].first], &lct.nodes[id + n]);
lct.cut(&lct.nodes[edges[id].second], &lct.nodes[id + n]);