1
0
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:
kalmarek 2019-01-14 17:45:23 +01:00
parent dd5fdc770b
commit af009547b5

View File

@ -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