mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-23 08:15:29 +01:00
GroupAlgebra elements are way longer than the product matrix
This commit is contained in:
parent
d479ebd91c
commit
9257f57aef
@ -15,9 +15,9 @@ immutable GroupAlgebraElement{T<:Number}
|
|||||||
function GroupAlgebraElement(coordinates::Vector{T},
|
function GroupAlgebraElement(coordinates::Vector{T},
|
||||||
product_matrix::Array{Int,2})
|
product_matrix::Array{Int,2})
|
||||||
|
|
||||||
length(coordinates) == size(product_matrix,1) ||
|
# length(coordinates) == size(product_matrix,1) ||
|
||||||
throw(ArgumentError("Matrix has to represent products of basis
|
# throw(ArgumentError("Matrix has to represent products of basis
|
||||||
elements"))
|
# elements"))
|
||||||
size(product_matrix, 1) == size(product_matrix, 2) ||
|
size(product_matrix, 1) == size(product_matrix, 2) ||
|
||||||
throw(ArgumentError("Product matrix has to be square"))
|
throw(ArgumentError("Product matrix has to be square"))
|
||||||
# length(coordinates) == length(basis) || throw(ArgumentError("Coordinates must be given in the given basis"))
|
# length(coordinates) == length(basis) || throw(ArgumentError("Coordinates must be given in the given basis"))
|
||||||
|
Loading…
Reference in New Issue
Block a user