From 584e188f0ea2b2c9b92dca04025fd17bd5639a03 Mon Sep 17 00:00:00 2001 From: Felix Kastner Date: Wed, 21 Feb 2024 09:50:20 +0100 Subject: [PATCH] fix deprecation from Nemo --- src/newton.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newton.jl b/src/newton.jl index 01b72a6..15eaafe 100644 --- a/src/newton.jl +++ b/src/newton.jl @@ -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,