Skip to content

Commit

Permalink
Fix the coeff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Oct 22, 2024
1 parent 9fe97c8 commit 87073ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generic/UnivPoly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ function coeff(p::UnivPoly{T}, vars::Vector{Int}, exps::Vector{Int}) where {T}
if vars[i] <= num
push!(vars2, vars[i])
push!(exps2, exps[i])
else
elseif exps[i] > 0
return zero(S)
end
end
Expand Down

0 comments on commit 87073ab

Please sign in to comment.