Skip to content

Commit b9797b2

Browse files
committed
🤖 Format .jl files
1 parent 257203e commit b9797b2

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

src/R2N.jl

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -511,10 +511,18 @@ function SolverCore.solve!(
511511
return stats
512512
end
513513

514-
function _qn_grad_update_y!(nlp::AbstractNLPModel{T, V}, solver::R2NSolver{T, G, V}, stats::GenericExecutionStats) where{T, V, G}
515-
@. solver.y = solver.∇fk - solver.∇fk⁻
514+
function _qn_grad_update_y!(
515+
nlp::AbstractNLPModel{T, V},
516+
solver::R2NSolver{T, G, V},
517+
stats::GenericExecutionStats,
518+
) where {T, V, G}
519+
@. solver.y = solver.∇fk - solver.∇fk⁻
516520
end
517521

518-
function _qn_grad_copy!(nlp::AbstractNLPModel{T, V}, solver::R2NSolver{T, G, V}, stats::GenericExecutionStats) where{T, V, G}
522+
function _qn_grad_copy!(
523+
nlp::AbstractNLPModel{T, V},
524+
solver::R2NSolver{T, G, V},
525+
stats::GenericExecutionStats,
526+
) where {T, V, G}
519527
solver.∇fk⁻ .= solver.∇fk
520528
end

0 commit comments

Comments
 (0)