mirror of https://github.com/CGAL/cgal
compile fixes
This commit is contained in:
parent
2261ce6e5c
commit
40ea8cc22b
|
|
@ -630,9 +630,18 @@ public:
|
||||||
//! coprime
|
//! coprime
|
||||||
struct Has_finite_number_of_intersections_2 :
|
struct Has_finite_number_of_intersections_2 :
|
||||||
public Binary_function< Polynomial_2_CGAL, Polynomial_2_CGAL, bool > {
|
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,
|
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 curve ids are the same - non-decomposable
|
||||||
if(f.id() == g.id())
|
if(f.id() == g.id())
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
|
|
@ -323,7 +323,7 @@ public:
|
||||||
*
|
*
|
||||||
* \pre \c x is finite
|
* \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 ??);
|
// CGAL_precondition(x is finite ??);
|
||||||
return status_line_for_x(x);
|
return status_line_for_x(x);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue