Skip to content

Commit 0b28dc5

Browse files
committed
fix: Correct variable name from 'ecc' to 'scc' in output loop
1 parent bf07707 commit 0b28dc5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/strongly_connected_components.test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ int main() {
2121
graph.solve();
2222

2323
cout << graph.sccs.size() << '\n';
24-
for (const auto &ecc : graph.sccs) {
25-
cout << ecc.size();
26-
for (size_t u : ecc)
24+
for (const auto &scc : graph.sccs) {
25+
cout << scc.size();
26+
for (size_t u : scc)
2727
cout << ' ' << u;
2828
cout << '\n';
2929
}

0 commit comments

Comments
 (0)