override Nemo's *(Rational, ::GroupRingElem)

This commit is contained in:
kalmarek 2017-09-15 19:03:43 +02:00
parent 36be0e000f
commit 8abc77a0c0
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ end
(*)(X::GroupRingElem, a) = mul(a,X)
# disallow Nemo.Rings to hijack *(::Integer, ::RingElem)
(*){T<:Integer}(a::T, X::GroupRingElem) = mul(a,X)
(*)(a::Union{Integer, Rational}, X::GroupRingElem) = mul(a,X)
(/)(X::GroupRingElem, a) = 1/a*X