From 2b1bb7b765c94d41c5ea5b107296ec93f458ae3c Mon Sep 17 00:00:00 2001 From: kalmar Date: Fri, 31 Mar 2017 22:38:18 +0200 Subject: [PATCH] break after checking in floats return negatives (commented out) --- src/checksolution.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/checksolution.jl b/src/checksolution.jl index 3577e96..00fecf2 100644 --- a/src/checksolution.jl +++ b/src/checksolution.jl @@ -126,6 +126,10 @@ function check_distance_to_positive_cone(Δ::GroupAlgebraElement, κ, A; info(logger, "Floating point distance (to positive cone) ≈ $(@sprintf("%.10f", fp_distance))") info(logger, "------------------------------------------------------------") + # if fp_distance ≤ 0 + # return fpdistance + # end + info(logger, "Projecting columns of rationalized A_sqrt to the augmentation ideal...") δ = eps(κ) A_sqrt_ℚ = ℚ(A_sqrt, δ)