From: Sandro Santilli Date: Tue, 10 Jan 2012 14:58:16 +0000 (+0000) Subject: Reflect type of empty from ST_Dimension (#1441) X-Git-Tag: 2.0.0alpha1~128 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfa3222be11420914f684b06b37bbc8f356f9597;p=postgis Reflect type of empty from ST_Dimension (#1441) No existing testcase fail, no new testcase is added. This change doesn't invalidate any part of the reference manual. Reference manual isn't updated. Signed-off-by: Charlie Brown git-svn-id: http://svn.osgeo.org/postgis/trunk@8748 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/lwgeom.c b/liblwgeom/lwgeom.c index c34a32b0c..37ae6b947 100644 --- a/liblwgeom/lwgeom.c +++ b/liblwgeom/lwgeom.c @@ -1002,7 +1002,7 @@ int lwgeom_dimension(const LWGEOM *geom) lwtype_name(geom->type)); /* Empty? Zero. */ - if( lwgeom_is_empty(geom) ) return 0; + /* if( lwgeom_is_empty(geom) ) return 0; */ switch (geom->type) {