finish changes of names

This commit is contained in:
kalmar 2017-03-15 08:23:42 +01:00
parent b711615077
commit 0924d24c03
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ end
function distance_to_cone{T<:Rational}(κ::T, sqrt_matrix::Array{T,2}, Δ::GroupAlgebraElement{T}; verbose=true, augmented=false)
SOS = compute_SOS(sqrt_matrix, Δ)
if augmented
epsilon = GroupAlgebras.ɛ(result)
epsilon = GroupAlgebras.ɛ(SOS)
@show epsilon
end
@ -150,7 +150,7 @@ function check_distance_to_positive_cone(Δ::GroupAlgebraElement, κ, A;
return Interval_dist_to_Σ².lo
else
println("Checking Projected SOS decomposition in exact rational arithmetic...")
@time _dist_to_Σ² = check_solution(κ_, A_sqrt__aug, Δ_, verbose=verbose, augmented=true)
@time _dist_to_Σ² = distance_to_cone(κ_, A_sqrt__aug, Δ_, verbose=verbose, augmented=true)
@assert isa(_dist_to_Σ², Rational)
println("Augmentation-projected rational distance (to positive cone)\n$(Float64(trunc(_dist_to_Σ²,8)))")
println("-------------------------------------------------------------")