Do some gofmt simplifications

This commit is contained in:
James Shubin
2016-07-25 20:56:33 -04:00
parent c1605a4f22
commit e28c1266cf
5 changed files with 8 additions and 8 deletions

View File

@@ -437,7 +437,7 @@ func (g *Graph) OutDegree() map[*Vertex]int {
for k := range g.Adjacency {
result[k] = 0 // initialize
for _ = range g.Adjacency[k] {
for range g.Adjacency[k] {
result[k]++
}
}