Corrected CGAL::Sign call to CGAL::sign.

This commit is contained in:
Sebastian Limbach 2007-03-15 10:03:46 +00:00
parent 61cca793ad
commit ba439afb79
1 changed files with 2 additions and 2 deletions

View File

@ -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