Browse Source

Redundant

Piotr Czajkowski 1 year ago
parent
commit
2b931584ea
1 changed files with 0 additions and 1 deletions
  1. 0 1
      16/code.go

+ 0 - 1
16/code.go

@@ -209,7 +209,6 @@ func calculate(moveTo []vertex, valves map[string]valve, visited []string, count
 		}
 
 		val, _ := valves[moveTo[i].name]
-		valves[moveTo[i].name] = val
 
 		newVisited := make([]string, len(visited))
 		copy(newVisited, visited)