summaryrefslogtreecommitdiff
path: root/graph/LCA_sparse.cpp
diff options
context:
space:
mode:
authormzuenni <michi.zuendorf@gmail.com>2022-10-16 15:55:52 +0200
committermzuenni <michi.zuendorf@gmail.com>2022-10-16 15:55:52 +0200
commitda9133c3934b7e95cc2ce1382432d824eb9e3234 (patch)
treee78c87b1f66c10d7717687ef1213a25805e866a3 /graph/LCA_sparse.cpp
parent97cc38f84e936be9864c7361cd19a4d2b12d37f6 (diff)
fixed typo
Diffstat (limited to 'graph/LCA_sparse.cpp')
-rw-r--r--graph/LCA_sparse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph/LCA_sparse.cpp b/graph/LCA_sparse.cpp
index 2a38528..a56dafa 100644
--- a/graph/LCA_sparse.cpp
+++ b/graph/LCA_sparse.cpp
@@ -28,5 +28,5 @@ struct LCA {
return visited[st.queryIdempotent(first[a], first[b] + 1)];
}
- ll getDepth(int a) {eturn depth[first[a]];}
+ ll getDepth(int a) {return depth[first[a]];}
};