From a66d7755aeafe4cbd68f848a591b3f7de3448969 Mon Sep 17 00:00:00 2001 From: kalmar Date: Wed, 12 Jul 2017 20:56:59 +0200 Subject: [PATCH] fix copy-paste mistake --- src/GroupRings.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GroupRings.jl b/src/GroupRings.jl index 066485e..5610f3c 100644 --- a/src/GroupRings.jl +++ b/src/GroupRings.jl @@ -346,7 +346,7 @@ function mul!{T<:Number}(result::GroupRingElem{T}, X::GroupRingElem, Y::GroupRin result = deepcopy(result) end - TT = typeof(first(a.coeffs)*first(b.coeffs)) + TT = typeof(first(X.coeffs)*first(Y.coeffs)) if TT != T warn("Type of the result $T does not contain type of the product ($TT), promoting.")