mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-19 07:20:28 +01:00
Remove old checks for length of GAE and basis
This commit is contained in:
parent
668fd4e16a
commit
5dc0dff3ff
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user