mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-10-19 09:05:36 +02:00
rename spectral_gap to sgap for easier handling
This commit is contained in:
parent
f987ae7622
commit
9aa427fe8e
@ -172,9 +172,9 @@ function check_property_T(name::String, generating_set::Function,
|
|||||||
info(logger, "minimum(P) = $(minimum(P))")
|
info(logger, "minimum(P) = $(minimum(P))")
|
||||||
|
|
||||||
if λ > 0
|
if λ > 0
|
||||||
spectral_gap = check_distance_to_positive_cone(Δ, λ, P, tol=tol, rational=false)
|
sgap = check_distance_to_positive_cone(Δ, λ, P, tol=tol, rational=false)
|
||||||
if isa(spectral_gap, Interval)
|
if isa(sgap, Interval)
|
||||||
sgap = spectral_gap.lo
|
sgap = sgap.lo
|
||||||
end
|
end
|
||||||
if sgap > 0
|
if sgap > 0
|
||||||
info(logger, "λ ≥ $(Float64(trunc(sgap,12)))")
|
info(logger, "λ ≥ $(Float64(trunc(sgap,12)))")
|
||||||
|
Loading…
Reference in New Issue
Block a user