diff --git a/boost/geometry/algorithms/detail/disjoint/linear_areal.hpp b/boost/geometry/algorithms/detail/disjoint/linear_areal.hpp index 5c1008a14..822e8cf23 100644 --- a/boost/geometry/algorithms/detail/disjoint/linear_areal.hpp +++ b/boost/geometry/algorithms/detail/disjoint/linear_areal.hpp @@ -72,9 +72,8 @@ struct disjoint_no_intersections_policy static inline bool apply(Geometry1 const& g1, Geometry2 const& g2, Strategy const& strategy) { typename helper_geometry>::type p; - geometry::point_on_border(p, g1); - - return ! geometry::covered_by(p, g2, strategy); + return ! (geometry::point_on_border(p, g1) + && geometry::covered_by(p, g2, strategy)); } };