Skip to content

Commit 603eece

Browse files
authored
Update src/main.jl
1 parent a9a0415 commit 603eece

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main.jl

+1-2
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,7 @@ function SolverCore.solve!(
234234
set_dual_residual!(stats, nlp_at_x.current_score)
235235
set_iter!(stats, nlp_stop.meta.nb_of_stop)
236236
set_time!(stats, nlp_at_x.current_time - nlp_stop.meta.start_time)
237-
if !success & (unsuccinarow >= max_unsuccinarow)
238-
# don't just cycle if we have to many unsucessful iterations
237+
if unsuccinarow >= max_unsuccinarow
239238
stats.status = :user
240239
end
241240
callback(nlp, solver, stats)

0 commit comments

Comments
 (0)