[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0-794-g4a3f85974

git at osgeo.org git at osgeo.org
Thu May 5 11:14:40 PDT 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  4a3f85974ba69a4ed790e1c55b4f8b44b5ff07fe (commit)
      from  9c4a85d2aadacb008489630f14168958b770a065 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4a3f85974ba69a4ed790e1c55b4f8b44b5ff07fe
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Thu May 5 11:14:35 2022 -0700

    The "float" type in the SQL definition refers to a double precision argument even though it is named "float", so read that type here.

diff --git a/postgis/lwgeom_geos.c b/postgis/lwgeom_geos.c
index 5cac0ef77..2b7a39105 100644
--- a/postgis/lwgeom_geos.c
+++ b/postgis/lwgeom_geos.c
@@ -904,7 +904,7 @@ Datum ST_ConcaveHull(PG_FUNCTION_ARGS)
 
 #else /* POSTGIS_GEOS_VERSION >= 31100 */
 	GSERIALIZED* geom = PG_GETARG_GSERIALIZED_P(0);
-	double ratio = (double)PG_GETARG_FLOAT4(1);
+	double ratio = PG_GETARG_FLOAT8(1);
 	bool allow_holes = PG_GETARG_BOOL(2);
 
 	LWGEOM* lwgeom = lwgeom_from_gserialized(geom);

-----------------------------------------------------------------------

Summary of changes:
 postgis/lwgeom_geos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list