From 5ea1abcedc301bcacf6fcff157b4cd88184eab2f Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 24 Jan 2019 19:10:55 +0100 Subject: [PATCH] [relate] Use RobustPolicy based on parameters, for consistency with set operations. --- include/boost/geometry/algorithms/detail/relate/turns.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/boost/geometry/algorithms/detail/relate/turns.hpp b/include/boost/geometry/algorithms/detail/relate/turns.hpp index 6fa05eaf2..01c4304fa 100644 --- a/include/boost/geometry/algorithms/detail/relate/turns.hpp +++ b/include/boost/geometry/algorithms/detail/relate/turns.hpp @@ -48,7 +48,11 @@ template < Geometry1, Geometry2, assign_policy<> >, - typename RobustPolicy = detail::no_rescale_policy + typename RobustPolicy = typename geometry::rescale_overlay_policy_type + < + Geometry1, + Geometry2 + >::type > struct get_turns {