Skip to content

Commit

Permalink
Remove functions moved to Nemo (Nemocas/Nemo.jl#1519)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Sep 14, 2023
1 parent 4217f1b commit fdd951b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions experimental/GModule/GModule.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1095,9 +1095,6 @@ function hom_base(C::GModule{<:Any, <:AbstractAlgebra.FPModule{nf_elem}}, D::GMo
end
end

#T this belongs to Nemo and should be moved there
Oscar.nbits(a::QQFieldElem) = nbits(numerator(a)) + nbits(denominator(a))

function hom_base(C::_T, D::_T) where _T <: GModule{<:Any, <:AbstractAlgebra.FPModule{QQFieldElem}}
@assert base_ring(C) == base_ring(D)

Expand Down
5 changes: 0 additions & 5 deletions src/Rings/AlgClosureFp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,6 @@ function op(f::Function, a::AlgClosureElem, b::AlgClosureElem)
return f(k(ad), k(bd))
end

#T the following belongs to Nemo and should be moved there
function Oscar.embed(k::Nemo.fpField, K::fqPolyRepField)
@assert characteristic(K) == characteristic(k)
end

+(a::AlgClosureElem, b::AlgClosureElem) = AlgClosureElem(op(+, a, b), parent(a))
-(a::AlgClosureElem, b::AlgClosureElem) = AlgClosureElem(op(-, a, b), parent(a))
#TODO: do we really want to support different types here? (implies different parents)
Expand Down

0 comments on commit fdd951b

Please sign in to comment.