mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-14 14:15:28 +01:00
@logtime Q = sqrtm(P)
This commit is contained in:
parent
c3ea80e6a9
commit
36e5979774
@ -218,7 +218,7 @@ function check_property_T(name::String, S, Id, solver, upper_bound, tol, radius)
|
||||
isapprox(eigvals(P), abs(eigvals(P)), atol=tol) ||
|
||||
warn("The solution matrix doesn't seem to be positive definite!")
|
||||
# @assert P == Symmetric(P)
|
||||
Q = real(sqrtm(Symmetric(P)))
|
||||
@logtime logger Q = real(sqrtm(Symmetric(P)))
|
||||
|
||||
sgap = distance_to_positive_cone(Δ, λ, Q, 2*radius)
|
||||
if isa(sgap, Interval)
|
||||
|
Loading…
Reference in New Issue
Block a user