From dd6ac00a1edb778fb9c55ce54af11a7861726b77 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 5 Nov 2023 18:35:40 +0100 Subject: [PATCH] Fix two invmod methods: eval -> evaluate (#1577) --- src/flint/fmpz_mod_poly.jl | 2 +- src/flint/nmod_poly.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flint/fmpz_mod_poly.jl b/src/flint/fmpz_mod_poly.jl index a1b164fc23..31d3c171db 100644 --- a/src/flint/fmpz_mod_poly.jl +++ b/src/flint/fmpz_mod_poly.jl @@ -580,7 +580,7 @@ function invmod(x::T, y::T) where {T <: Zmodn_fmpz_poly} length(y) == 0 && error("Second argument must not be 0") check_parent(x, y) if length(y) == 1 - return parent(x)(inv(eval(x, coeff(y, 0)))) + return parent(x)(inv(evaluate(x, coeff(y, 0)))) end z = parent(x)() r = ccall((:fmpz_mod_poly_invmod, libflint), Cint, diff --git a/src/flint/nmod_poly.jl b/src/flint/nmod_poly.jl index 5f308d33a0..e4bc0b26e6 100644 --- a/src/flint/nmod_poly.jl +++ b/src/flint/nmod_poly.jl @@ -523,7 +523,7 @@ function invmod(x::T, y::T) where T <: Zmodn_poly length(y) == 0 && error("Second argument must not be 0") check_parent(x,y) if length(y) == 1 - return parent(x)(inv(eval(x, coeff(y, 0)))) + return parent(x)(inv(evaluate(x, coeff(y, 0)))) end z = parent(x)() r = ccall((:nmod_poly_invmod, libflint), Int32,