Skip to content

Commit

Permalink
Delete two unused functions (#1652)
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin authored Oct 18, 2024
1 parent 542c23e commit 9a1165a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
8 changes: 0 additions & 8 deletions src/FieldFactory/ab_exts.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
10 changes: 0 additions & 10 deletions src/NumFieldOrd/NfOrd/LinearAlgebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9a1165a

Please sign in to comment.