From 7816c70770df3e74d7a803e32cab995d05109091 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 6 Oct 2025 15:18:50 +0100 Subject: [PATCH] Avoid waring of Intel compiler --- Bounding_volumes/include/CGAL/pierce_rectangles_2.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bounding_volumes/include/CGAL/pierce_rectangles_2.h b/Bounding_volumes/include/CGAL/pierce_rectangles_2.h index f33964389da..d122ae70361 100644 --- a/Bounding_volumes/include/CGAL/pierce_rectangles_2.h +++ b/Bounding_volumes/include/CGAL/pierce_rectangles_2.h @@ -892,8 +892,8 @@ four_cover_points(Staircases< Traits >& d, OutputIterator o, bool& ok) sdistx(*(shf - 1), bottom) <= FT(2) * d.r)))) #else if (sdistx(bottom_i.second, bottom) <= FT(2) * d.r && - ((!d.is_x_greater_y() || - (shl == Citerator(share.end()) || + (!d.is_x_greater_y() || + ((shl == Citerator(share.end()) || sdistx(share.back(), bottom) <= FT(2) * d.r) && (shf == Citerator(share.begin()) || sdistx(*(shf - 1), bottom) <= FT(2) * d.r))))