8000 strongy -> strongly (thanks @mhayter) · cp-algorithms/cp-algorithms@d9288f0 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit d9288f0

Browse files
committed
strongy -> strongly (thanks @mhayter)
1 parent 7e333ab commit d9288f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/graph/strongly-connected-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ void dfs(int v, vector<vector<int>> const& adj, vector<int> &output) {
8888
// input: adj -- adjacency list of G
8989
// output: components -- the strongy connected components in G
9090
// output: adj_cond -- adjacency list of G^SCC (by root vertices)
91-
void strongy_connected_components(vector<vector<int>> const& adj,
91+
void strongly_connected_components(vector<vector<int>> const& adj,
9292
vector<vector<int>> &components,
9393
vector<vector<int>> &adj_cond) {
9494
int n = adj.size();

test/test_strongly_connected_components.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ int main() {
2828
adj[9].push_back(4);
2929

3030
vector<vector<int>> components, adj_scc;
31-
strongy_connected_components(adj, components, adj_scc);
31+
strongly_connected_components(adj, components, adj_scc);
3232

3333
// sort things to make it easier to verify
3434
sort(components.begin(), components.end(),

0 commit comments

Comments
 (0)
0