mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-10-19 01:00:36 +02:00
update function names
This commit is contained in:
parent
098a7ce948
commit
f206a13980
@ -249,7 +249,7 @@ function check_property_T(sett::Settings)
|
|||||||
# @assert P == Symmetric(P)
|
# @assert P == Symmetric(P)
|
||||||
Q = real(sqrtm(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)
|
if isa(sgap, Interval)
|
||||||
sgap = sgap.lo
|
sgap = sgap.lo
|
||||||
end
|
end
|
||||||
|
@ -208,7 +208,7 @@ function check_property_T(name::String, S, Id, solver, upper_bound, tol, radius)
|
|||||||
# @assert P == Symmetric(P)
|
# @assert P == Symmetric(P)
|
||||||
Q = real(sqrtm(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)
|
if isa(sgap, Interval)
|
||||||
sgap = sgap.lo
|
sgap = sgap.lo
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user