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:
parent
0180856083
commit
e472a42d09
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user