Skip to content

Commit

Permalink
chore: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaxwood committed Aug 13, 2024
1 parent cf41c7f commit 28d9e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/day24.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def part1
x, y = part.intersection_point(other_part)
# check if the intersection point is in the test grid
if x.between?(@min, @max) && y.between?(@min, @max)
result << part.intersection_point(other_part)
result << [x, y]
end
end
end
Expand Down

0 comments on commit 28d9e2b

Please sign in to comment.