Skip to content

Commit

Permalink
Update src/trunk.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Tangi Migot <[email protected]>
  • Loading branch information
amontoison and tmigot authored Oct 6, 2024
1 parent 6c29ea8 commit fc9a8d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trunk.jl
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function SolverCore.solve!(

while !done
# Compute inexact solution to trust-region subproblem
# minimize g's + 1/2 s'Hs subject to ‖s‖ ≤ radius.
# minimize g's + 1/2 s'Hs subject to ‖s‖_M ≤ radius.
# In this particular case, we may use an operator with preallocation.
cgtol = max(rtol, min(T(0.1), ∇fNormM, T(0.9) * cgtol))
∇f .*= -1
Expand Down

0 comments on commit fc9a8d9

Please sign in to comment.