GroupAlgebra elements are way longer than the product matrix

This commit is contained in:
kalmar 2016-12-21 15:58:44 +01:00
parent d479ebd91c
commit 9257f57aef
1 changed files with 3 additions and 3 deletions

View File

@ -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"))