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
1 changed files with 1 additions and 1 deletions

View File

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