[geos-commits] [SCM] GEOS branch master updated. 7120886889ccd6ba84692cf4f8f265bf6c163d46
git at osgeo.org
git at osgeo.org
Mon Dec 17 11:56:18 PST 2018
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, master has been updated
via 7120886889ccd6ba84692cf4f8f265bf6c163d46 (commit)
from c8297015f0c50e36f00939152531e8e918b2f578 (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 7120886889ccd6ba84692cf4f8f265bf6c163d46
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Dec 17 11:56:09 2018 -0800
std::abs vs fabs
diff --git a/src/algorithm/Area.cpp b/src/algorithm/Area.cpp
index eb1fea0..021bbf3 100644
--- a/src/algorithm/Area.cpp
+++ b/src/algorithm/Area.cpp
@@ -28,14 +28,14 @@ namespace algorithm { // geos.algorithm
double
Area::ofRing(const std::vector<geom::Coordinate> &ring)
{
- return fabs(ofRingSigned(ring));
+ return std::abs(ofRingSigned(ring));
}
/* public static */
double
Area::ofRing(const geom::CoordinateSequence *ring)
{
- return fabs(ofRingSigned(ring));
+ return std::abs(ofRingSigned(ring));
}
/* public static */
-----------------------------------------------------------------------
Summary of changes:
src/algorithm/Area.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GEOS
More information about the geos-commits
mailing list