From ba2f2c1c20bd4812c128ac08e082b70f55ef6f18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 25 Feb 2020 14:25:20 +0100 Subject: [PATCH] use FT instead of RT Compare_distance_3 is a generic functor that is comparing the returned value of Squared_distance_3. If called to compare the distance of a point to a plane/segment/triangle a division is used leading to runtime error. --- Kernel_23/include/CGAL/Kernel/interface_macros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel_23/include/CGAL/Kernel/interface_macros.h b/Kernel_23/include/CGAL/Kernel/interface_macros.h index 8b68ed3c249..3ef22b55dd3 100644 --- a/Kernel_23/include/CGAL/Kernel/interface_macros.h +++ b/Kernel_23/include/CGAL/Kernel/interface_macros.h @@ -119,8 +119,8 @@ CGAL_Kernel_pred(Compare_dihedral_angle_3, compare_dihedral_angle_3_object) CGAL_Kernel_pred(Compare_distance_2, compare_distance_2_object) -CGAL_Kernel_pred_RT(Compare_distance_3, - compare_distance_3_object) +CGAL_Kernel_pred(Compare_distance_3, + compare_distance_3_object) CGAL_Kernel_pred_RT(Compare_power_distance_2, compare_power_distance_2_object) CGAL_Kernel_pred_RT(Compare_power_distance_3,