[Boost-bugs] [Boost C++ Libraries] #5730: strategy selection error in the distance function

Subject: [Boost-bugs] [Boost C++ Libraries] #5730: strategy selection error in the distance function
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-22 07:56:11


#5730: strategy selection error in the distance function
------------------------------------------------------------+---------------
 Reporter: Christian Marty <christian.marty@…> | Owner: barendgehrels
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: geometry
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: geometry distance strategy |
------------------------------------------------------------+---------------
 file : \boost\geometry\algorithms\distance.hpp

 line : 134

 before (bug ?) : return_type const ds = ps_strategy.apply(point, *prev,
 *it);

 after (patched) : return_type const ds = eps_strategy.apply(point, *prev,
 *it);

 from the line 125, 128 and 139 eps_strategy seems the more appropriate.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5730>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC