Skip to content

Commit

Permalink
sigh, one of those typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Javran committed Feb 12, 2024
1 parent a055223 commit cec46c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Javran/AdventOfCode/Y2023/Day18.hs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ loopPathPredicates cs = (isEdgeOnPath, isCoordOnPath)

isCoordOnPath (CoordP (r0, c0)) =
lookupAux hSegs r0 (\rng -> inRange rng c0)
|| lookupAux hSegs c0 (\rng -> inRange rng r0)
|| lookupAux vSegs c0 (\rng -> inRange rng r0)

{-
Tests whether moving a block in certain direction will hit the loop path.
Expand Down

0 comments on commit cec46c3

Please sign in to comment.