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

update function names

This commit is contained in:
kalmarek 2017-10-27 18:35:50 +02:00
parent 098a7ce948
commit f206a13980
2 changed files with 2 additions and 2 deletions

View File

@ -249,7 +249,7 @@ function check_property_T(sett::Settings)
# @assert P == Symmetric(P)
Q = real(sqrtm(Symmetric(P)))
sgap = PropertyT.check_distance_to_positive_cone(Δ, λ, Q, 2*sett.radius, tol=sett.tol, rational=false)
sgap = distance_to_positive_cone(Δ, λ, Q, 2*sett.radius)
if isa(sgap, Interval)
sgap = sgap.lo
end

View File

@ -208,7 +208,7 @@ function check_property_T(name::String, S, Id, solver, upper_bound, tol, radius)
# @assert P == Symmetric(P)
Q = real(sqrtm(Symmetric(P)))
sgap = check_distance_to_positive_cone(Δ, λ, Q, 2*radius, tol=tol)
sgap = distance_to_positive_cone(Δ, λ, Q, 2*radius)
if isa(sgap, Interval)
sgap = sgap.lo
end