comment out sparsification
This commit is contained in:
parent
7cc0bff40d
commit
e76f8f0c60
@ -66,7 +66,7 @@ function init_OrbitData(name::String)
|
|||||||
splap² = GroupRings.mul(splap, splap, pm);
|
splap² = GroupRings.mul(splap, splap, pm);
|
||||||
|
|
||||||
Uπs = load(joinpath(name, "U_pis.jld"), "Uπs");
|
Uπs = load(joinpath(name, "U_pis.jld"), "Uπs");
|
||||||
Uπs = sparsify.(Uπs);
|
# Uπs = sparsify.(Uπs);
|
||||||
#dimensions of the corresponding πs:
|
#dimensions of the corresponding πs:
|
||||||
dims = load(joinpath(name, "U_pis.jld"), "dims")
|
dims = load(joinpath(name, "U_pis.jld"), "dims")
|
||||||
|
|
||||||
@ -85,8 +85,8 @@ end
|
|||||||
|
|
||||||
function transform{T}(U::AbstractArray{T,2}, V::AbstractArray{T,2}, eps=eps(T))
|
function transform{T}(U::AbstractArray{T,2}, V::AbstractArray{T,2}, eps=eps(T))
|
||||||
w = U'*V*U
|
w = U'*V*U
|
||||||
sparsify!(w, eps)
|
# sparsify!(w, eps)
|
||||||
dropzeros!(w)
|
# dropzeros!(w)
|
||||||
return w
|
return w
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user