From 848d9e9f10edf990a7374c3372e08060b0ffec3c Mon Sep 17 00:00:00 2001 From: Pedro Machado Manhaes de Castro Date: Fri, 4 Aug 2006 14:43:41 +0000 Subject: [PATCH] Changes needed --- .../include/CGAL/Root_for_spheres_2_3.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Algebraic_kernel_for_spheres/include/CGAL/Root_for_spheres_2_3.h b/Algebraic_kernel_for_spheres/include/CGAL/Root_for_spheres_2_3.h index a7d01984171..5f36156c6b5 100644 --- a/Algebraic_kernel_for_spheres/include/CGAL/Root_for_spheres_2_3.h +++ b/Algebraic_kernel_for_spheres/include/CGAL/Root_for_spheres_2_3.h @@ -71,13 +71,13 @@ class Root_for_spheres_2_3 { // On fait l'evaluation de (x,y,z) pour le plan // aX + bY + cZ + d, donne - Root_of_2 evaluate(const Polynomial_1_3 &p) const { + const Root_of_2 evaluate(const Polynomial_1_3 &p) const { return (p.a() * x()) + (p.b() * y()) + (p.c() * z()) + p.d(); } // On fait l'evaluation de (x,y,z) pour le plan // (X-a)^2 + (Y-b)^2 + (Z-c)^2 - r_sq, donne - Root_of_2 evaluate(const Polynomial_for_spheres_2_3 &p) const { + const Root_of_2 evaluate(const Polynomial_for_spheres_2_3 &p) const { return square(x() - p.a()) + square(y() - p.b()) + square(z() - p.c()) -