From 9a1165a9941e3ed6216d6066870104bd032355af Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 18 Oct 2024 20:39:08 +0200 Subject: [PATCH] Delete two unused functions (#1652) --- src/FieldFactory/ab_exts.jl | 8 -------- src/NumFieldOrd/NfOrd/LinearAlgebra.jl | 10 ---------- 2 files changed, 18 deletions(-) diff --git a/src/FieldFactory/ab_exts.jl b/src/FieldFactory/ab_exts.jl index f3be7eae96..bd47df1cf8 100644 --- a/src/FieldFactory/ab_exts.jl +++ b/src/FieldFactory/ab_exts.jl @@ -699,14 +699,6 @@ function _ext_with_autos(Qx, x, i::Int, j::Int) return Qx(cp1), Qx(cp2) end -function __get_term(a::QQMPolyRingElem, exps::Vector{UInt}) - z = QQFieldElem() - ccall((:fmpq_mpoly_get_coeff_fmpq_ui, libflint), Nothing, - (Ref{QQFieldElem}, Ref{QQMPolyRingElem}, Ptr{UInt}, Ref{QQMPolyRing}), - z, a, exps, parent(a)) - return z -end - function _C22_with_max_ord(l) list = Vector{Tuple{AbsSimpleNumField, Vector{morphism_type(AbsSimpleNumField, AbsSimpleNumField)}, Vector{morphism_type(AbsSimpleNumField, AbsSimpleNumField)}}}() Qx, x = polynomial_ring(FlintQQ, "x", cached = false) diff --git a/src/NumFieldOrd/NfOrd/LinearAlgebra.jl b/src/NumFieldOrd/NfOrd/LinearAlgebra.jl index 9a13220ed1..7699b01937 100644 --- a/src/NumFieldOrd/NfOrd/LinearAlgebra.jl +++ b/src/NumFieldOrd/NfOrd/LinearAlgebra.jl @@ -165,16 +165,6 @@ function set!(z::fpPolyRingElem, x::fpPolyRingElem) ccall((:nmod_poly_set, libflint), Nothing, (Ref{fpPolyRingElem}, Ref{fpPolyRingElem}), z, x) end -function __helper!(z, mF, entries) - s = size(entries) - for i in 1:s[2] - for j in 1:s[1] - z[j, i] = mF(entries[j, i]) - end - end - return z -end - function mod_sym(x::AbsSimpleNumFieldOrderElem, m::ZZRingElem) z = coordinates(x) for i in 1:length(z)