summaryrefslogtreecommitdiff
path: root/boost/geometry/algorithms/distance.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/geometry/algorithms/distance.hpp')
-rw-r--r--boost/geometry/algorithms/distance.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/geometry/algorithms/distance.hpp b/boost/geometry/algorithms/distance.hpp
index eca3b03c7b..11c2bc929b 100644
--- a/boost/geometry/algorithms/distance.hpp
+++ b/boost/geometry/algorithms/distance.hpp
@@ -130,7 +130,7 @@ struct point_to_range
// check if other segments are closer
for (++prev, ++it; it != boost::end(view); ++prev, ++it)
{
- return_type const ds = ps_strategy.apply(point, *prev, *it);
+ return_type const ds = eps_strategy.apply(point, *prev, *it);
if (geometry::math::equals(ds, zero))
{
return ds;