mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-19 15:25:29 +01:00
Cstar_reprs are usually sparse
This commit is contained in:
parent
cda9538653
commit
c86f46666a
@ -132,7 +132,7 @@ function reconstruct_sol{T<:GroupElem, S<:AbstractArray}(mreps::Dict{T, S},
|
||||
end
|
||||
|
||||
function Cstar_repr{T}(x::GroupRingElem{T}, mreps::Dict)
|
||||
res = zeros(size(mreps[first(keys(mreps))])...)
|
||||
res = spzeros(size(mreps[first(keys(mreps))])...)
|
||||
|
||||
for g in parent(x).basis
|
||||
if x[g] != zero(T)
|
||||
|
Loading…
Reference in New Issue
Block a user