1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-11-19 14:35:27 +01:00

remove baseless_warn

This commit is contained in:
kalmarek 2018-08-13 20:48:51 +02:00
parent 0180856083
commit e472a42d09

View File

@ -12,8 +12,6 @@ import Base: convert, show, hash, ==, +, -, *, //, /, length, norm, deepcopy_in
# #
############################################################################### ###############################################################################
global baseless_warn = false
mutable struct GroupRing{Gr<:Group, T<:GroupElem} <: Ring mutable struct GroupRing{Gr<:Group, T<:GroupElem} <: Ring
group::Gr group::Gr
basis::Vector{T} basis::Vector{T}
@ -238,7 +236,7 @@ function show(io::IO, X::GroupRingElem)
end end
print(io, str) print(io, str)
else else
baseless_warn && warn("Basis of the parent Group is not defined, showing coeffs") warn("Basis of the parent Group is not defined, showing coeffs")
show(io, MIME("text/plain"), X.coeffs) show(io, MIME("text/plain"), X.coeffs)
end end
end end