diff --git a/deps/boost/geometry/extensions/algorithms/closest_point.hpp b/deps/boost/geometry/extensions/algorithms/closest_point.hpp index 97deb2d57..f3a0794d4 100644 --- a/deps/boost/geometry/extensions/algorithms/closest_point.hpp +++ b/deps/boost/geometry/extensions/algorithms/closest_point.hpp @@ -51,9 +51,7 @@ struct point_point { result.distance = strategy.apply_point_point(point1, point2); - // The projected point makes not really sense in point-point. - // We just assign one on the other - geometry::convert(point1, result.closest_point); + geometry::convert(point2, result.closest_point); } };