Skip to content

Commit 692bc44

Browse files
committed
fix typo
1 parent 1d88373 commit 692bc44

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/stopping_criterion.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,9 @@ function is_finished!(
355355
)
356356
k = state.iteration
357357
(k == 0) && (stopping_criterion_states.at_iteration = -1) # reset on init
358-
if all(
358+
if any(
359359
st -> is_finished!(problem, algorithm, state, st[1], st[2]),
360-
zip(stop_when_all.criteria, stopping_criterion_states.criteria_states),
360+
zip(stop_when_any.criteria, stopping_criterion_states.criteria_states),
361361
)
362362
stopping_criterion_states.at_iteration = k
363363
return true

0 commit comments

Comments
 (0)