mirror of
https://github.com/hashicorp/terraform.git
synced 2026-02-03 20:50:59 -05:00
fix: delete min function
This commit is contained in:
parent
039cced8ae
commit
e3a9dce998
1 changed files with 0 additions and 7 deletions
|
|
@ -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…
Reference in a new issue