Skip to content

Commit e56afea

Browse files
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent a434feb commit e56afea

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/R2N.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ function SolverCore.solve!(
340340
error("R2N: prox-gradient step should produce a decrease but ξ1 = $(ξ1)")
341341
atol += rtol * sqrt_ξ1_νInv # make stopping test absolute and relative
342342

343-
344343
user_requested_exit = callback(nlp, solver, stats) :: Bool
345344

346345
set_status!(
@@ -488,7 +487,6 @@ function SolverCore.solve!(
488487

489488
(ξ1 < 0 && sqrt_ξ1_νInv > neg_tol) &&
490489
error("R2N: prox-gradient step should produce a decrease but ξ1 = $(ξ1)")
491-
492490
user_requested_exit = callback(nlp, solver, stats) :: Bool
493491

494492
set_status!(

0 commit comments

Comments
 (0)