Skip to content

Commit

Permalink
Replace lead -> leading_coefficient in moved Misc functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
wbhart committed Mar 19, 2021
1 parent fe00a47 commit d2a5d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generic/Poly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ function divhigh(a::PolyElem{T}, b::PolyElem{T}, n0::Int) where T <: RingElement
break
end
# negate quotient so we can use addeq! below
q = -divexact(coeff(a, da), lead(b))
q = -divexact(coeff(a, da), leading_coefficient(b))
r = setcoeff!(r, da - degree(b), q)
da -= 1
if i != n
Expand Down

0 comments on commit d2a5d43

Please sign in to comment.