Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausC committed Nov 30, 2023
1 parent 0a60724 commit e277bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/univarpolynom.jl
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ end
The primitive part of the polynomial `p`, equals [`p / content(p)`](@ref).
If the basetype is `QQ`, returned polynomial has basetype `ZZ`.
"""
gnomeprimpart(p::Polynomial) = p / content(p)
primpart(p::Polynomial) = p / content(p)
function primpart(p::UnivariatePolynomial{Q,X}) where {Q<:Union{QQ,Frac},X}
Z = basetype(Q)
(Z[X])(Z.(numerator.((p / content(p)).coeff)), ord(p))
Expand Down

0 comments on commit e277bea

Please sign in to comment.