1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-07-31 14:25:29 +02:00

fix copy-paste mistake

This commit is contained in:
kalmar 2017-07-12 20:56:59 +02:00
parent fc3cbeb14c
commit a66d7755ae

View File

@ -346,7 +346,7 @@ function mul!{T<:Number}(result::GroupRingElem{T}, X::GroupRingElem, Y::GroupRin
result = deepcopy(result) result = deepcopy(result)
end end
TT = typeof(first(a.coeffs)*first(b.coeffs)) TT = typeof(first(X.coeffs)*first(Y.coeffs))
if TT != T if TT != T
warn("Type of the result $T does not contain type of the product ($TT), promoting.") warn("Type of the result $T does not contain type of the product ($TT), promoting.")