From 560cfc182a6eda7909860f622830d163aecc04e3 Mon Sep 17 00:00:00 2001 From: kalmar Date: Wed, 17 May 2017 12:31:49 +0200 Subject: [PATCH] get rid of Group Algebra legacy --- src/GroupRings.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GroupRings.jl b/src/GroupRings.jl index ff4a6fb..e774052 100644 --- a/src/GroupRings.jl +++ b/src/GroupRings.jl @@ -217,14 +217,14 @@ end function add{T<:Number}(X::GroupRingElem{T}, Y::GroupRingElem{T}) parent(X) == parent(Y) || throw(ArgumentError( - "Elements don't seem to belong to the same Group Algebra!")) + "Elements don't seem to belong to the same Group Ring!")) return GroupRingElem(X.coeffs+Y.coeffs, parent(X)) end function add{T<:Number, S<:Number}(X::GroupRingElem{T}, Y::GroupRingElem{S}) parent(X) == parent(Y) || throw(ArgumentError( - "Elements don't seem to belong to the same Group Algebra!")) + "Elements don't seem to belong to the same Group Ring!")) warn("Adding elements with different base rings!") return GroupRingElem(+(promote(X.coeffs, Y.coeffs)...), parent(X)) end @@ -260,7 +260,7 @@ end function groupring_mult{T<:Number}(X::GroupRingElem{T}, Y::GroupRingElem{T}) parent(X) == parent(Y) || throw(ArgumentError( - "Elements don't seem to belong to the same Group Algebra!")) + "Elements don't seem to belong to the same Group Ring!")) result = groupring_mult(X.coeffs, Y.coeffs, parent(X).pm) return GroupRingElem(result, parent(X)) end