[geos-commits] [SCM] GEOS branch main updated. 583ee5684df6def17e96f5e1dca052754ad9481a
git at osgeo.org
git at osgeo.org
Wed Jun 28 08:55:46 PDT 2023
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 "GEOS".
The branch, main has been updated
via 583ee5684df6def17e96f5e1dca052754ad9481a (commit)
from ffe797845ce0d2ce717979325b9aff7169302f51 (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 583ee5684df6def17e96f5e1dca052754ad9481a
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Wed Jun 28 08:55:11 2023 -0700
Remove undefined behaviour in use of null PrecisionModel, closes #931
diff --git a/src/operation/overlayng/OverlayMixedPoints.cpp b/src/operation/overlayng/OverlayMixedPoints.cpp
index b0a20a91a..1285186a2 100644
--- a/src/operation/overlayng/OverlayMixedPoints.cpp
+++ b/src/operation/overlayng/OverlayMixedPoints.cpp
@@ -76,7 +76,7 @@ private:
/*public*/
OverlayMixedPoints::OverlayMixedPoints(int p_opCode, const Geometry* geom0, const Geometry* geom1, const PrecisionModel* p_pm)
: opCode(p_opCode)
- , pm(p_pm)
+ , pm(p_pm ? p_pm : geom0->getPrecisionModel())
, geometryFactory(geom0->getFactory())
, resultDim(OverlayUtil::resultDimension(opCode, geom0->getDimension(), geom1->getDimension()))
{
-----------------------------------------------------------------------
Summary of changes:
src/operation/overlayng/OverlayMixedPoints.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list