mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2025-03-16 17:02:13 +01:00
early exit if fp_distance <= 0
This commit is contained in:
parent
d65bb54929
commit
c0da44754d
@ -129,9 +129,9 @@ function check_distance_to_positive_cone(Δ::GroupAlgebraElement, λ, P;
|
|||||||
info(logger, "Floating point distance (to positive cone) ≈ $(@sprintf("%.10f", fp_distance))")
|
info(logger, "Floating point distance (to positive cone) ≈ $(@sprintf("%.10f", fp_distance))")
|
||||||
info(logger, "------------------------------------------------------------")
|
info(logger, "------------------------------------------------------------")
|
||||||
|
|
||||||
# if fp_distance ≤ 0
|
if fp_distance ≤ 0
|
||||||
# return fpdistance
|
return fpdistance
|
||||||
# end
|
end
|
||||||
|
|
||||||
info(logger, "Projecting columns of rationalized Q to the augmentation ideal...")
|
info(logger, "Projecting columns of rationalized Q to the augmentation ideal...")
|
||||||
δ = eps(λ)
|
δ = eps(λ)
|
||||||
|
Loading…
Reference in New Issue
Block a user