Skip to content

Commit ee7fc80

Browse files
committed
Remove double declaration of edge
1 parent 8d17dfb commit ee7fc80

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

graph.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,6 @@ func Equal(g, h Iterator) bool {
225225
if g.Order() != h.Order() {
226226
return false
227227
}
228-
type edge struct {
229-
v int
230-
w int
231-
c int64
232-
}
233228
edges := make(map[edge]int)
234229
for v := 0; v < g.Order(); v++ {
235230
g.Visit(v, func(w int, c int64) (skip bool) {

0 commit comments

Comments
 (0)