]> granicus.if.org Git - postgis/commitdiff
Reflect type of empty from ST_Dimension (#1441)
authorSandro Santilli <strk@keybit.net>
Tue, 10 Jan 2012 14:58:16 +0000 (14:58 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 10 Jan 2012 14:58:16 +0000 (14:58 +0000)
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

liblwgeom/lwgeom.c

index c34a32b0c7bf0849622ae3efee2b6aaf7e215c3c..37ae6b94751c170aff18638ac1b243e6a86ae647 100644 (file)
@@ -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)
        {