remove "Base.{...}"

This commit is contained in:
kalmarek 2018-09-21 18:46:17 +02:00
parent fbc4d8aec7
commit b5af5fc9b5
1 changed files with 3 additions and 3 deletions

View File

@ -62,10 +62,10 @@ for (Elem, op) in ([:MltGrpElem, :*], [:AddGrpElem, :+])
end
end
Base.show(io::IO, G::MltGrp) = print(io, "The multiplicative group of $(G.obj)")
Base.show(io::IO, G::AddGrp) = print(io, "The additive group of $(G.obj)")
show(io::IO, G::MltGrp) = print(io, "The multiplicative group of $(G.obj)")
show(io::IO, G::AddGrp) = print(io, "The additive group of $(G.obj)")
Base.show(io::IO, g::Union{MltGrpElem, AddGrpElem}) = show(io, g.elt)
show(io::IO, g::Union{MltGrpElem, AddGrpElem}) = show(io, g.elt)
gens(F::AbstractAlgebra.Field) = elem_type(F)[gen(F)]