mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-23 08:15:29 +01:00
Merge branch 'enh/logtime'
This commit is contained in:
commit
093cced764
@ -240,7 +240,7 @@ function check_property_T(sett::Settings)
|
|||||||
isapprox(eigvals(P), abs.(eigvals(P)), atol=sett.tol) ||
|
isapprox(eigvals(P), abs.(eigvals(P)), atol=sett.tol) ||
|
||||||
warn("The solution matrix doesn't seem to be positive definite!")
|
warn("The solution matrix doesn't seem to be positive definite!")
|
||||||
# @assert P == Symmetric(P)
|
# @assert P == Symmetric(P)
|
||||||
Q = real(sqrtm(Symmetric(P)))
|
@logtime logger Q = real(sqrtm(Symmetric(P)))
|
||||||
|
|
||||||
sgap = distance_to_positive_cone(Δ, λ, Q, 2*sett.radius)
|
sgap = distance_to_positive_cone(Δ, λ, Q, 2*sett.radius)
|
||||||
if isa(sgap, Interval)
|
if isa(sgap, Interval)
|
||||||
|
Loading…
Reference in New Issue
Block a user