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

Add 2^3 of |b| (to be on the safe side)

This commit is contained in:
kalmar 2017-03-13 11:35:18 +01:00
parent 0588eedd7f
commit 858b79ccc1

View File

@ -158,7 +158,7 @@ function check_solution{T<:Number}(κ::T, sqrt_matrix::Array{T,2}, Δ::GroupAlge
@printf("‖Δ² - κΔ - ∑ξᵢ*ξᵢ‖₁ ≈ %.10f\n", L₁_dist) @printf("‖Δ² - κΔ - ∑ξᵢ*ξᵢ‖₁ ≈ %.10f\n", L₁_dist)
end end
distance_to_cone = κ - 2^2*eoi_SOS_L₁_dist distance_to_cone = κ - 2^3*eoi_SOS_L₁_dist
return distance_to_cone return distance_to_cone
end end