Skip to content

Commit

Permalink
Merge pull request #33 from fkastner/master
Browse files Browse the repository at this point in the history
fix deprecation from Nemo
  • Loading branch information
fkastner authored Feb 21, 2024
2 parents ea7d65f + 584e188 commit e712ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/newton.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function polyinv(coeffs::Vector, n)
R, x = Nemo.power_series_ring(Nemo.FlintQQ, n, "x")
a = R(map(Nemo.FlintQQ, coeffs), length(coeffs), n, 0)
ai = inv(a)
return Nemo.fmpq[coeff(ai,i) for i=0:n-1]
return Nemo.QQFieldElem[coeff(ai,i) for i=0:n-1]
end

# compute newton power series of polynomial given with coefficients coeff,
Expand Down

0 comments on commit e712ca5

Please sign in to comment.