diff options
Diffstat (limited to 'aoc-2022-dotnet/Day12/Program.fs')
-rw-r--r-- | aoc-2022-dotnet/Day12/Program.fs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aoc-2022-dotnet/Day12/Program.fs b/aoc-2022-dotnet/Day12/Program.fs index 7e1a409..ccd7697 100644 --- a/aoc-2022-dotnet/Day12/Program.fs +++ b/aoc-2022-dotnet/Day12/Program.fs @@ -77,7 +77,7 @@ let solution distanceCalculation = && Square.canTraverse square (Util.mAt matrix np)) |> Set.map (Vec2.toIndexOf matrix))) >> Seq.indexed - >> Map.ofSeq + >> Map >> Graph >> distanceCalculation >> Option.get |