mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-14 14:15:28 +01:00
fix: distance_to_positive_cone expects HALF the support radius
This commit is contained in:
parent
dd5fdc770b
commit
af009547b5
@ -235,7 +235,7 @@ function check_property_T(sett::Settings)
|
||||
@warn("The solution matrix doesn't seem to be positive definite!")
|
||||
|
||||
@time Q = real(sqrt( (P.+ P')./2 ))
|
||||
sgap = distance_to_positive_cone(Δ, λ, Q, R=2*sett.radius)
|
||||
sgap = distance_to_positive_cone(Δ, λ, Q, R=sett.radius)
|
||||
|
||||
return interpret_results(sett, sgap)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user