Skip to content

Commit

Permalink
Merge pull request #8189 from afabri/Polynomial-fix_8182-GF
Browse files Browse the repository at this point in the history
Polynomial:  Add overload which is only documented
  • Loading branch information
lrineau committed May 17, 2024
2 parents b242782 + b7d9f95 commit 860a780
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Polynomial/include/CGAL/polynomial_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,14 @@ square_free_factorize(const Polynomial_d& p, OutputIterator oi){
typedef Polynomial_traits_d<Polynomial_d> PT;
return typename PT::Square_free_factorize()(p,oi);
}

template <typename Polynomial_d, typename OutputIterator> inline
OutputIterator
square_free_factorize(const Polynomial_d& p, OutputIterator oi, const typename Polynomial_traits_d<Polynomial_d>::Innermost_coefficient_type& a){
typedef Polynomial_traits_d<Polynomial_d> PT;
return typename PT::Square_free_factorize()(p,oi,a);
}

// MakeSquareFree
CGAL_UNARY_POLY_FUNCTION(Make_square_free, make_square_free)
// IsSquareFree
Expand Down

0 comments on commit 860a780

Please sign in to comment.