From e68cf6748005abc65ffb78fb1b158a8d477ef32a Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 14 Mar 2023 18:23:32 +0100 Subject: [PATCH] Fix in Env_sphere_traits_3 --- Envelope_3/include/CGAL/Env_sphere_traits_3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Envelope_3/include/CGAL/Env_sphere_traits_3.h b/Envelope_3/include/CGAL/Env_sphere_traits_3.h index 5d265928cad..22efc60c081 100644 --- a/Envelope_3/include/CGAL/Env_sphere_traits_3.h +++ b/Envelope_3/include/CGAL/Env_sphere_traits_3.h @@ -456,8 +456,8 @@ public: envelope_coef = -1; Sign sign_c_diff = CGAL_NTS sign(c_diff); - Rational la = envelope_coef*2*a_diff*sign_c_diff; - Rational lb = envelope_coef*2*b_diff*sign_c_diff; + Rational la = a_diff * (envelope_coef*2*sign_c_diff); + Rational lb = b_diff * (envelope_coef*2*sign_c_diff); Rational lc = envelope_coef*sign_c_diff*(2*c_diff*z_plane - m); if (ellipse_is_point)