Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r78655 - trunk/boost/geometry/extensions/algorithms
From: barend.gehrels_at_[hidden]
Date: 2012-05-26 16:55:05


Author: barendgehrels
Date: 2012-05-26 16:55:05 EDT (Sat, 26 May 2012)
New Revision: 78655
URL: http://svn.boost.org/trac/boost/changeset/78655

Log:
[geometry] bugfix - qualify math - pending commit
Text files modified:
   trunk/boost/geometry/extensions/algorithms/mark_spikes.hpp | 2 +-
   trunk/boost/geometry/extensions/algorithms/remove_spikes.hpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/geometry/extensions/algorithms/mark_spikes.hpp
==============================================================================
--- trunk/boost/geometry/extensions/algorithms/mark_spikes.hpp (original)
+++ trunk/boost/geometry/extensions/algorithms/mark_spikes.hpp 2012-05-26 16:55:05 EDT (Sat, 26 May 2012)
@@ -122,7 +122,7 @@
     // Do the same for distance to get correct ratio (though this might be discussed)
     perimeter += distance_strategy.apply(*it2, *it1);
 
- area = abs(area_strategy.result(area_state));
+ area = geometry::math::abs(area_strategy.result(area_state));
 }
 
 

Modified: trunk/boost/geometry/extensions/algorithms/remove_spikes.hpp
==============================================================================
--- trunk/boost/geometry/extensions/algorithms/remove_spikes.hpp (original)
+++ trunk/boost/geometry/extensions/algorithms/remove_spikes.hpp 2012-05-26 16:55:05 EDT (Sat, 26 May 2012)
@@ -278,7 +278,7 @@
             coordinate_type p = geometry::perimeter(triangle);
             if (p > m_zero)
             {
- coordinate_type a = abs(geometry::area(triangle));
+ coordinate_type a = geometry::math::abs(geometry::area(triangle));
                 coordinate_type prop1 = a / p;
                 coordinate_type prop2 = d1 / p;
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk