mirror of https://github.com/CGAL/cgal
Corrected CGAL::Sign call to CGAL::sign.
This commit is contained in:
parent
61cca793ad
commit
ba439afb79
|
|
@ -493,11 +493,11 @@ private:
|
||||||
Denominator_type den;
|
Denominator_type den;
|
||||||
typename FT::Decompose decompose;
|
typename FT::Decompose decompose;
|
||||||
decompose(x,num,den);
|
decompose(x,num,den);
|
||||||
CGAL_precondition(CGAL::Sign(den) == CGAL::POSITIVE);
|
CGAL_precondition(CGAL::sign(den) == CGAL::POSITIVE);
|
||||||
|
|
||||||
typedef Coercion_traits< Numerator_type , Denominator_type > CT;
|
typedef Coercion_traits< Numerator_type , Denominator_type > CT;
|
||||||
typename CT::Cast cast;
|
typename CT::Cast cast;
|
||||||
return CGAL::Sign(evaluate_homogeneous(cast(num),cast(den)));
|
return CGAL::sign(evaluate_homogeneous(cast(num),cast(den)));
|
||||||
}
|
}
|
||||||
public:
|
public:
|
||||||
//! evaluates the sign of the Polynomial at x
|
//! evaluates the sign of the Polynomial at x
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue