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

distance_to_cone does not accept keyword args anymore

This commit is contained in:
kalmar 2017-03-15 17:55:41 +01:00
parent 3d534ac489
commit 120def0ef2

View File

@ -145,7 +145,7 @@ function check_distance_to_positive_cone(Δ::GroupAlgebraElement, κ, A;
return Interval_dist_to_Σ².lo return Interval_dist_to_Σ².lo
else else
info(logger, "Checking Projected SOS decomposition in exact rational arithmetic...") info(logger, "Checking Projected SOS decomposition in exact rational arithmetic...")
@time _dist_to_Σ² = distance_to_cone(κ_, A_sqrt__aug, Δ_, augmented=true) @time _dist_to_Σ² = distance_to_cone(κ_, A_sqrt__aug, Δ_)
@assert isa(_dist_to_Σ², Rational) @assert isa(_dist_to_Σ², Rational)
info(logger, "Augmentation-projected rational distance (to positive cone)\n$(Float64(trunc(_dist_to_Σ²,8)))") info(logger, "Augmentation-projected rational distance (to positive cone)\n$(Float64(trunc(_dist_to_Σ²,8)))")
info(logger, "-------------------------------------------------------------") info(logger, "-------------------------------------------------------------")