From 5dc0dff3ffbc70352142dff10e5230a39a3264fb Mon Sep 17 00:00:00 2001 From: kalmar Date: Wed, 21 Dec 2016 23:48:02 +0100 Subject: [PATCH] Remove old checks for length of GAE and basis --- GroupAlgebras.jl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/GroupAlgebras.jl b/GroupAlgebras.jl index 47750f3..266fa62 100644 --- a/GroupAlgebras.jl +++ b/GroupAlgebras.jl @@ -15,13 +15,8 @@ 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")) 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")) - # new(coordinates, product_matrix, basis) new(coordinates, product_matrix) end end