Skip to content

Commit 8b18564

Browse files
kellertuerlkdvos
andauthored
Update src/stopping_criterion.jl
Co-authored-by: Lukas Devos <ldevos98@gmail.com>
1 parent a2dc6c2 commit 8b18564

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
@@ -65,8 +65,8 @@ function indicates_convergence(
6565
stopping_criterion::StoppingCriterion,
6666
stopping_criterion_state::StoppingCriterionState,
6767
)
68-
return isnothing(get_reason(stopping_criterion, stopping_criterion_state)) ?
69-
indicates_convergence(stopping_criterion) : false
68+
return isnothing(get_reason(stopping_criterion, stopping_criterion_state)) &&
69+
indicates_convergence(stopping_criterion)
7070
end
7171

7272
_doc_is_finished = """

0 commit comments

Comments
 (0)