From 9bc4fd48bf8f08e4d10ca20e7cbc5ad9944a9363 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 17 Nov 2004 15:28:44 +0000 Subject: [PATCH] Yet another GEOSHasZ bug fix git-svn-id: http://svn.osgeo.org/postgis/trunk@1100 b70326c6-7e19-0410-871a-916f4a2858ee --- lwgeom/lwgeom_geos_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lwgeom/lwgeom_geos_wrapper.cpp b/lwgeom/lwgeom_geos_wrapper.cpp index c3d6d9464..c00089441 100644 --- a/lwgeom/lwgeom_geos_wrapper.cpp +++ b/lwgeom/lwgeom_geos_wrapper.cpp @@ -1719,5 +1719,5 @@ GEOSHasZ(Geometry *g) double az = g->getCoordinate()->z; //sprintf(msg, "ZCoord: %g", az); //NOTICE_MESSAGE(msg); - return (isfinite(az) && ! az == DoubleNotANumber); + return (isfinite(az) && az != DoubleNotANumber); } -- 2.40.0