]> granicus.if.org Git - postgis/commitdiff
#2615, EstimatedExtent (and hence, underlying stats) gathering wrong bbox
authorPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 4 Feb 2014 23:17:50 +0000 (23:17 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 4 Feb 2014 23:17:50 +0000 (23:17 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@12224 b70326c6-7e19-0410-871a-916f4a2858ee

NEWS
postgis/gserialized_estimate.c

diff --git a/NEWS b/NEWS
index 51e8fefa17f77bde733356c25f4629fd103f2f95..751da565cfb5cbb23163e906d476b2f05215e38d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -49,6 +49,7 @@ PostGIS 2.2.0
   - #2555, Fix parsing issue of range arguments of ST_Reclass
   - #2589, Remove use of unnecessary void pointers
   - #2607, Cannot open more than 1024 out-db files in one process
+  - #2615, EstimatedExtent (and hence, underlying stats) gathering wrong bbox
   - #2556, geography ST_Intersects results depending on insert order
 
  * Code refactoring *
index 1add23d4209b3626424d1be0b7f0e3dc96f345a2..568580943487bf9973aba7edc0e01927fcf5ca29 100644 (file)
@@ -497,7 +497,7 @@ nd_box_init_bounds(ND_BOX *a)
        for ( d = 0; d < ND_DIMS; d++ )
        {
                a->min[d] = FLT_MAX;
-               a->max[d] = FLT_MIN;
+               a->max[d] = -1 * FLT_MAX;
        }
        return TRUE;
 }