Merge pull request #34423 from komisan19/fix/delete-min-function

refactor: removed min function and adopted go standard min
pull/34464/head
CJ Horton 2 years ago committed by GitHub
commit fcdeab5da9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -58,13 +58,6 @@ func stronglyConnected(acct *sccAcct, g *Graph, v Vertex) int {
return minIdx
}
func min(a, b int) int {
if a <= b {
return a
}
return b
}
// sccAcct is used ot pass around accounting information for
// the StronglyConnectedComponents algorithm
type sccAcct struct {

Loading…
Cancel
Save