DIAGRAM: fix crash when passed an empty array to showConvexHullLines
This commit is contained in:
parent
143d514648
commit
5020778f60
@ -112,6 +112,7 @@ showConvexHullPoints = Diag f
|
||||
showConvexHullLines :: Diag
|
||||
showConvexHullLines = Diag f
|
||||
where
|
||||
f _ [] = mempty
|
||||
f _ vt
|
||||
= (strokeTrail .
|
||||
fromVertices .
|
||||
|
Loading…
Reference in New Issue
Block a user