about summary refs log tree commit diff
path: root/users/glittershark/xanthous
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-03-19T17·03+0100
committersterni <sternenseemann@systemli.org>2021-03-19T23·16+0000
commit4cf7dced54af817cf79c5e161568156add98d819 (patch)
tree0730113beb8c8c7523c009b33a1379abe298dc66 /users/glittershark/xanthous
parenteb110e9d7c1e95e92fea6d72f26d77c831973a18 (diff)
chore(gs/xanthous): fix for hgeometry 0.12.0.1 r/2288
The breaking removal of triangulationEdges was not that big of a deal
after all: It was just renamed to edgesAsPoints apparently, so the fix
is easy enough and we can save one override.

hgeometry-combinatorial's doctests seem to trigger some kind of GHC
dynamic linking bug (https://github.com/noinia/hgeometry/issues/132) so
we disable the tests.

Change-Id: Iba2a64cade4d1a55fa4b81846e1116f282d4590a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2608
Tested-by: BuildkiteCI
Reviewed-by: glittershark <grfn@gws.fyi>
Diffstat (limited to 'users/glittershark/xanthous')
-rw-r--r--users/glittershark/xanthous/src/Xanthous/Util/Graphics.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/glittershark/xanthous/src/Xanthous/Util/Graphics.hs b/users/glittershark/xanthous/src/Xanthous/Util/Graphics.hs
index 353fcfc59b..6ba63a2d8a 100644
--- a/users/glittershark/xanthous/src/Xanthous/Util/Graphics.hs
+++ b/users/glittershark/xanthous/src/Xanthous/Util/Graphics.hs
@@ -146,7 +146,7 @@ delaunay
   -> [((V2 n, p), (V2 n, p))]
 delaunay
   = map (over both fromPoint)
-  . Geometry.triangulationEdges
+  . Geometry.edgesAsPoints
   . Geometry.delaunayTriangulation
   . map toPoint
   where