Skip to content

Commit 4785656

Browse files
committed
Update
1 parent 1fcaa22 commit 4785656

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/algorithms/KirlikSayin.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ function minimize_multiobjective!(algorithm::KirlikSayin, model::Optimizer)
171171
Y_proj = _project(Y, k)
172172
# We want `if !(Y in YN)` but this tests exact equality. We want
173173
# an approximate comparison.
174-
if all(!isapprox(Y; atol = 1e-6), YN)
174+
# if all(!isapprox(Y; atol = 1e-6), YN)
175+
if !(Y in YN)
175176
push!(solutions, SolutionPoint(X, Y))
176177
push!(YN, Y)
177178
L = _update_list(L, Y_proj)

0 commit comments

Comments
 (0)