1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-03 18:46:27 +01:00

store the dense Uπs, sparsify at read-time

This commit is contained in:
kalmarek 2017-11-08 10:01:45 +01:00
parent fe1e9ee37c
commit bcbf8a03c8
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,8 @@ function OrbitData(sett::Settings)
splap² = GroupRings.mul!(splap², splap, splap, pm); splap² = GroupRings.mul!(splap², 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 = load(joinpath(prepath(sett), "U_pis.jld"), "spUπs"); Uπs = load(joinpath(prepath(sett), "U_pis.jld"), "Uπs")
Uπs = sparsify!.(Uπs, sett.tol, check=true, verbose=true)
#dimensions of the corresponding πs: #dimensions of the corresponding πs:
dims = load(joinpath(prepath(sett), "U_pis.jld"), "dims") dims = load(joinpath(prepath(sett), "U_pis.jld"), "dims")

View File

@ -218,7 +218,6 @@ function compute_orbit_data{T<:GroupElem}(logger, name::String, G::Nemo.Group, S
save(joinpath(name, "U_pis.jld"), save(joinpath(name, "U_pis.jld"),
"Uπs", Uπs, "Uπs", Uπs,
"spUπs", sparsify!.(deepcopy(Uπs), check=true, verbose=true),
"dims", dimensions) "dims", dimensions)
return 0 return 0
end end