From 9257f57aef5d109f58c13479c921e75f3c4941e4 Mon Sep 17 00:00:00 2001 From: kalmar Date: Wed, 21 Dec 2016 15:58:44 +0100 Subject: [PATCH] GroupAlgebra elements are way longer than the product matrix --- GroupAlgebras.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GroupAlgebras.jl b/GroupAlgebras.jl index d9546a1..47750f3 100644 --- a/GroupAlgebras.jl +++ b/GroupAlgebras.jl @@ -15,9 +15,9 @@ immutable GroupAlgebraElement{T<:Number} function GroupAlgebraElement(coordinates::Vector{T}, product_matrix::Array{Int,2}) - length(coordinates) == size(product_matrix,1) || - throw(ArgumentError("Matrix has to represent products of basis - elements")) + # length(coordinates) == size(product_matrix,1) || + # throw(ArgumentError("Matrix has to represent products of basis + # elements")) size(product_matrix, 1) == size(product_matrix, 2) || throw(ArgumentError("Product matrix has to be square")) # length(coordinates) == length(basis) || throw(ArgumentError("Coordinates must be given in the given basis"))