From 039990deb74ea42754482827dacd940bb339406f Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Fri, 6 Mar 2015 10:05:19 +0000 Subject: [PATCH] Fix build after gbox calculations centralization (r13313) NOTE: test for ST_ClipByBox2D still fails git-svn-id: http://svn.osgeo.org/postgis/trunk@13319 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/lwgeom_geos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c index 70f444aa9..dcf735211 100644 --- a/postgis/lwgeom_geos.c +++ b/postgis/lwgeom_geos.c @@ -1690,7 +1690,7 @@ Datum ST_ClipByBox2d(PG_FUNCTION_ARGS) } /* if bbox1 is covered by bbox2, return lwgeom1 */ - if ( gbox_contains_2d(box2, box1) ) + if ( gbox_contains_2d(bbox2, bbox1) ) { lwgeom_free(lwgeom1); PG_RETURN_POINTER(geom1); -- 2.50.1