fixing a very old bug

This commit is contained in:
Michael Hemmer 2010-11-04 12:48:47 +00:00
parent 6ee793c300
commit 7d24c3bb9f
1 changed files with 2 additions and 2 deletions

View File

@ -157,7 +157,7 @@ bool may_have_multiple_factor_(const Polynomial<NT>& P, CGAL::Tag_true ){
// Check modular image to be square free
typename CGAL::Polynomial_traits_d< Polynomial_mt >::Is_square_free
is_square_free;
return( !is_square_free( m ) );
}
@ -168,7 +168,7 @@ bool may_have_multiple_factor_( const Polynomial<NT>&, CGAL::Tag_false ) {
template< class NT > inline
bool may_have_multiple_factor( const Polynomial<NT>& P ) {
if(P.degree() <= 1)
if(CGAL::total_degree(P) <= 1)
return false;
// Modular filter