Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Dec 20, 2024
1 parent be2e968 commit c594a7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MPoly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ function content(a::MPolyRingElem{T}) where T <: RingElement
end


function is_nilpotent(f::T) where {T<:MPolyRingElem}
function is_nilpotent(f::T) where {T <: MPolyRingElem}
is_domain_type(T) && return is_zero(f)
return all(is_nilpotent, coefficients(f))
end
Expand Down

0 comments on commit c594a7c

Please sign in to comment.