From b67589e16b9db85d0a66bbeb6e2c4024e67a03bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 14 Sep 2021 08:41:34 +0200 Subject: [PATCH] workaround sign issue --- .../internal/Bbox_3_Triangle_3_do_intersect.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Intersections_3/include/CGAL/Intersections_3/internal/Bbox_3_Triangle_3_do_intersect.h b/Intersections_3/include/CGAL/Intersections_3/internal/Bbox_3_Triangle_3_do_intersect.h index ccc948e1873..31a861df29c 100644 --- a/Intersections_3/include/CGAL/Intersections_3/internal/Bbox_3_Triangle_3_do_intersect.h +++ b/Intersections_3/include/CGAL/Intersections_3/internal/Bbox_3_Triangle_3_do_intersect.h @@ -24,6 +24,8 @@ #include #include +#include + namespace CGAL { namespace Intersections { namespace internal { @@ -411,7 +413,8 @@ bool do_intersect_bbox_or_iso_cuboid(const typename K::Triangle_3& a_triangle, const FT& c_alpha, const FT& c_beta) -> Uncertain { - return CGAL::sign(- c_alpha * alpha + c_beta * beta); + Sgn sign; + return sign(- c_alpha * alpha + c_beta * beta); }; std::array< std::array, 3> triangle =