[postgis-tickets] r16478 - fixes #4049

nicklas.aven at jordogskog.no nicklas.aven at jordogskog.no
Tue Mar 20 02:37:03 PDT 2018


Author: nicklas
Date: 2018-03-20 02:37:03 -0700 (Tue, 20 Mar 2018)
New Revision: 16478

Modified:
   trunk/liblwgeom/lwtree.c
Log:
fixes #4049

Modified: trunk/liblwgeom/lwtree.c
===================================================================
--- trunk/liblwgeom/lwtree.c	2018-03-18 22:43:31 UTC (rev 16477)
+++ trunk/liblwgeom/lwtree.c	2018-03-20 09:37:03 UTC (rev 16478)
@@ -86,7 +86,7 @@
 {
 	const POINT2D *p1, *p2, *p3, *q1, *q2, *q3;
 	DISTPTS dl;
-
+    lw_dist2d_distpts_init(&dl, 1);
 	switch (n1->seg_type)
 	{
 		case RECT_NODE_SEG_POINT:



More information about the postgis-tickets mailing list