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

fix: remove remains of the old version

This commit is contained in:
kalmar 2017-07-25 00:01:23 +02:00
parent 1862868a35
commit 7188433472

View File

@ -413,9 +413,6 @@ function *{T<:Number, S<:Number}(X::GroupRingElem{T}, Y::GroupRingElem{S}, check
TT = typeof(first(X.coeffs)*first(Y.coeffs)) TT = typeof(first(X.coeffs)*first(Y.coeffs))
warn("Multiplying elements with different base rings! Promoting the result to $TT.") warn("Multiplying elements with different base rings! Promoting the result to $TT.")
result = mul!(result, X, Y)
return result
if isdefined(parent(X), :basis) if isdefined(parent(X), :basis)
result = parent(X)(similar(X.coeffs)) result = parent(X)(similar(X.coeffs))
result = convert(TT, result) result = convert(TT, result)