Skip to content

Commit dfd9e7a

Browse files
Change default epsilon in nonlocality_threshold
1 parent d7ba250 commit dfd9e7a

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

src/bell_frank_wolfe.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function bell_frank_wolfe(
4040
v0 = one(T),
4141
epsilon = 10Base.rtoldefault(T),
4242
verbose = 0,
43-
verbose_init = verbose > 0,
43+
verbose_init = verbose > 0, # when used in nonlocality_threshold
4444
shr2 = NaN,
4545
mode::Int = 0,
4646
nb::Int = 10^2,

src/nonlocality_threshold.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ function nonlocality_threshold(
2222
digits = 3,
2323
prob::Bool = false,
2424
marg::Bool = false,
25-
epsilon = Base.rtoldefault(T),
2625
o = nothing,
2726
sym = nothing,
2827
deflate = identity,
@@ -44,7 +43,6 @@ function nonlocality_threshold(
4443
while round(log10(upper_bound - lower_bound); digits = 4) > -digits
4544
res = bell_frank_wolfe(p;
4645
v0,
47-
epsilon,
4846
prob,
4947
marg,
5048
o,

0 commit comments

Comments
 (0)