1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-12-28 18:50:29 +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
group::Gr
basis::Vector{T}
@ -238,7 +236,7 @@ function show(io::IO, X::GroupRingElem)
end
print(io, str)
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)
end
end