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);
# 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:
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"),
"Uπs", Uπs,
"spUπs", sparsify!.(deepcopy(Uπs), check=true, verbose=true),
"dims", dimensions)
return 0
end