1
0
mirror of https://github.com/kalmarek/PropertyT.jl.git synced 2024-12-25 02:15:29 +01:00

add @time to reconstruct_sol

This commit is contained in:
kalmar 2017-08-01 10:30:33 +02:00
parent 1f508ea85c
commit a6eed4cd11

View File

@ -171,9 +171,9 @@ function λandP(m::JuMP.Model, data::OrbitData, sett::Settings)
λ, Ps = λandP(m, data)
info(PropertyT.logger, "Reconstructing P...")
mreps = matrix_reps(sett.G, sett.S, sett.AutS, sett.radius)
@time mreps = matrix_reps(sett.G, sett.S, sett.AutS, sett.radius)
recP = reconstruct_sol(mreps, data.Us, Ps, data.dims)
@time recP = reconstruct_sol(mreps, data.Us, Ps, data.dims)
fname = PropertyT.λSDPfilenames(data.name)[2]
save(fname, "origP", Ps, "P", recP)