Skip to content

Commit

Permalink
fix deprecation from Nemo
Browse files Browse the repository at this point in the history
  • Loading branch information
fkastner committed Feb 21, 2024
1 parent ea7d65f commit 584e188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/newton.jl
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 584e188

Please sign in to comment.