From bb28b1bc54b0d26db62b5fb2c64c30f16b4fcf1b Mon Sep 17 00:00:00 2001 From: kalmar Date: Tue, 16 May 2017 18:49:40 +0200 Subject: [PATCH] add missing end --- src/GroupAlgebras.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/GroupAlgebras.jl b/src/GroupAlgebras.jl index 892c479..3c4b5f0 100644 --- a/src/GroupAlgebras.jl +++ b/src/GroupAlgebras.jl @@ -158,6 +158,7 @@ function scalar_multiplication{T<:Number, S<:Number}(a::T, X::GroupRingElem{S}) promote_type(T,S) == S || warn("Scalar and coeffs are in different rings! Promoting result to $(promote_type(T,S))") return GroupRingElem(a*X.coeffs, parent(X)) + end end (*){T<:Number}(a::T,X::GroupRingElem) = scalar_multiplication(a, X) @@ -280,3 +281,5 @@ function complete(X::GroupRingElem) complete(parent(X)) return X end + +end # of module GroupRings