mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2025-01-12 22:42:33 +01:00
make type of result of algebra_square depend on sqrt_matrix
This commit is contained in:
parent
f9fd7e63a7
commit
b711615077
@ -10,7 +10,7 @@ function EOI{T<:Number}(Δ::GroupAlgebraElement{T}, κ::T)
|
||||
end
|
||||
|
||||
function algebra_square(vector, elt)
|
||||
zzz = zeros(elt.coefficients)
|
||||
zzz = zeros(eltype(vector), elt.coefficients)
|
||||
zzz[1:length(vector)] = vector
|
||||
# new_base_elt = GroupAlgebraElement(zzz, elt.product_matrix)
|
||||
# return (new_base_elt*new_base_elt).coefficients
|
||||
|
Loading…
Reference in New Issue
Block a user