1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-11-27 01:10:28 +01:00

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

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