compile fixes

This commit is contained in:
Eric Berberich 2008-03-26 21:49:18 +00:00
parent 2261ce6e5c
commit 40ea8cc22b
2 changed files with 12 additions and 3 deletions

View File

@ -630,9 +630,18 @@ public:
//! coprime
struct Has_finite_number_of_intersections_2 :
public Binary_function< Polynomial_2_CGAL, Polynomial_2_CGAL, bool > {
bool operator()(const Internal_polynomial_2& f,
const Internal_polynomial_2& g) const {
// if curve ids are the same - non-decomposable
if(f.id() == g.id())
return true;
NiX2CGAL_converter cvt;
return (*this)(cvt(f), cvt(g));
}
bool operator()(const Polynomial_2_CGAL& f,
const Polynomial_2_CGAL& g) const {
const Polynomial_2_CGAL& g) const {
// if curve ids are the same - non-decomposable
if(f.id() == g.id())
return true;

View File

@ -323,7 +323,7 @@ public:
*
* \pre \c x is finite
*/
Status_line_1& status_line_at_exact_x(X_coordinate_1 x) const {
Status_line_1 status_line_at_exact_x(X_coordinate_1 x) const {
// CGAL_precondition(x is finite ??);
return status_line_for_x(x);
}