diff --git a/Cone_spanners_2/include/CGAL/Compute_cone_boundaries_2.h b/Cone_spanners_2/include/CGAL/Compute_cone_boundaries_2.h index f25e71e8e5d..03d47f7ca89 100644 --- a/Cone_spanners_2/include/CGAL/Compute_cone_boundaries_2.h +++ b/Cone_spanners_2/include/CGAL/Compute_cone_boundaries_2.h @@ -166,13 +166,13 @@ public: //std::cout << "Specialization is called!" << std::endl; - // We actually use -x instead of x since CGAL::root_of() will give the k-th - // smallest root but we want the second largest one without counting. + // here -x is actually used instead of x, since CGAL::root_of() gives the + // k-th smallest root, but we want the second largest one with no need to count. Polynomial x(CGAL::shift(Polynomial(-1), 1)); - Polynomial twox(2*x); + Polynomial double_x(2*x); Polynomial a(1), b(x); for (unsigned int i = 2; i <= cone_number; ++i) { - Polynomial c = twox*b - a; + Polynomial c = double_x*b - a; a = b; b = c; }