1
0
mirror of https://github.com/kalmarek/GroupRings.jl.git synced 2024-12-29 11:00:28 +01:00

this promotion has no effect

This commit is contained in:
kalmar 2017-05-17 12:33:37 +02:00
parent 6dec41ad18
commit 5913206954

View File

@ -271,7 +271,7 @@ function groupring_mult{T<:Number, S<:Number}(X::GroupRingElem{T},
parent(X) == parent(Y) || throw("Elements don't seem to belong to the same
Group Ring!")
warn("Multiplying elements with different base rings!")
result = groupring_mult(promote(X.coeffs,Y.coeffs)..., parent(X).pm)
result = groupring_mult(X.coeffs, Y.coeffs, parent(X).pm)
return GroupRingElem(result, parent(X))
end