mirror of
https://github.com/onyx-and-iris/aoc2025.git
synced 2025-12-08 19:57:48 +00:00
no need to current point value
This commit is contained in:
parent
3db1c4c372
commit
3dbbab6fbe
@ -17,9 +17,7 @@ class Main
|
||||
def process_graph(graph, counts)
|
||||
graph.each_with_index do |line, y|
|
||||
line.each_with_index do |char, x|
|
||||
current = Point.new(x, y)
|
||||
|
||||
next unless graph.at(current) == "^"
|
||||
next unless char == "^"
|
||||
|
||||
distribute_counts(x, y, counts)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user