Skip to content

Commit

Permalink
make ormolu happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
julialongtin committed Sep 15, 2023
1 parent 46ee7cd commit 790a6e1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Graphics/Slicer/Math/Skeleton/Line.hs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ addInsetsToFace distanceBetweenSegs insets face
PAntiParallel -> Just [makeFaceNoCheck (segmentFrom finalInset) firstArc midArcs lastArc]
_ -> Just [makeFaceNoCheck (segmentFrom finalInset) firstArc midArcs lastArc]


-- Recurse, so we get the remainder and line segments of the three sided n-gon left over.
(threeSideSubInsets, _)
| null foundInsets = noResult
Expand Down Expand Up @@ -470,7 +469,7 @@ reclaimRing ring
findSequences :: [(Point2, (InsetLine, InsetLine))] -> [[(Point2, (InsetLine, InsetLine))]]
findSequences intersections
| length intersections < 3 = error $ "too few intersections:" <> show (length intersections) <> "\n" <> show intersections <> "\n"
| otherwise = findSequences' $ shoreBeginning intersections
| otherwise = findSequences' $ shoreBeginning intersections
where
findSequences' :: [(Point2, (InsetLine, InsetLine))] -> [[(Point2, (InsetLine, InsetLine))]]
findSequences' incoming
Expand Down

0 comments on commit 790a6e1

Please sign in to comment.