From: Paul Ramsey Date: Sat, 4 Oct 2008 21:29:16 +0000 (+0000) Subject: Fix boneheaded error in prepared intersects. X-Git-Tag: 1.4.0b1~655 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e790f6e2f9bc62a6ee665719de7aa32bf981e27b;p=postgis Fix boneheaded error in prepared intersects. git-svn-id: http://svn.osgeo.org/postgis/trunk@3065 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/lwgeom/lwgeom_geos_c.c b/lwgeom/lwgeom_geos_c.c index b0aa06187..392531e35 100644 --- a/lwgeom/lwgeom_geos_c.c +++ b/lwgeom/lwgeom_geos_c.c @@ -4153,13 +4153,13 @@ Datum intersectsPrepared(PG_FUNCTION_ARGS) if ( prep_cache->argnum == 1 ) { GEOSGeom g = POSTGIS2GEOS(geom2); - result = GEOSPreparedCovers( prep_cache->prepared_geom, g); + result = GEOSPreparedIntersects( prep_cache->prepared_geom, g); GEOSGeom_destroy(g); } else { GEOSGeom g = POSTGIS2GEOS(geom1); - result = GEOSPreparedCovers( prep_cache->prepared_geom, g); + result = GEOSPreparedIntersects( prep_cache->prepared_geom, g); GEOSGeom_destroy(g); } }