From 64268dd19ebd2488339504f28c75a7647f54249c Mon Sep 17 00:00:00 2001 From: Vissarion Fisikopoulos Date: Tue, 28 May 2024 13:44:16 +0300 Subject: [PATCH] Comment on static assert failure related to rescale policy updated --- .../algorithms/detail/intersection/areal_areal.hpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/include/boost/geometry/algorithms/detail/intersection/areal_areal.hpp b/include/boost/geometry/algorithms/detail/intersection/areal_areal.hpp index 8ce26f95c..3f5d43886 100644 --- a/include/boost/geometry/algorithms/detail/intersection/areal_areal.hpp +++ b/include/boost/geometry/algorithms/detail/intersection/areal_areal.hpp @@ -102,11 +102,6 @@ struct intersection_areal_areal_ single_out, point_tag, point_tag > pointlike; - typedef typename geometry::tuples::element - < - areal::index, TupledOut - >::type areal_out_type; - // A * A -> A call_intersection(areal1, areal2, areal::get(geometry_out), @@ -127,6 +122,13 @@ struct intersection_areal_areal_ { // NOTE: the original areal geometry could be used instead of boundary here // however this results in static assert failure related to rescale policy + // After the removing of rescaling replacing boundary with areal geometry results in + // some tests failing. + typedef typename geometry::tuples::element + < + areal::index, TupledOut + >::type areal_out_type; + typedef geometry::detail::boundary_view < areal_out_type const