Skip to content

Commit

Permalink
Remove unnecessary type argument for findSCC call
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikbraun committed Aug 17, 2022
1 parent c3f241b commit b846600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paths.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func StronglyConnectedComponents[K comparable, T any](g Graph[K, T]) ([][]K, err

for hash := range state.adjacencyMap {
if _, ok := state.visited[hash]; !ok {
findSCC[K](hash, state)
findSCC(hash, state)
}
}

Expand Down

0 comments on commit b846600

Please sign in to comment.