We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2dc6c2 commit 8b18564Copy full SHA for 8b18564
1 file changed
src/stopping_criterion.jl
@@ -65,8 +65,8 @@ function indicates_convergence(
65
stopping_criterion::StoppingCriterion,
66
stopping_criterion_state::StoppingCriterionState,
67
)
68
- return isnothing(get_reason(stopping_criterion, stopping_criterion_state)) ?
69
- indicates_convergence(stopping_criterion) : false
+ return isnothing(get_reason(stopping_criterion, stopping_criterion_state)) &&
+ indicates_convergence(stopping_criterion)
70
end
71
72
_doc_is_finished = """
0 commit comments