Skip to content

Commit 9a51326

Browse files
Merge branch 'JuliaSmoothOptimizers:master' into LMTR-JSO
2 parents 3ce69c8 + 20699c9 commit 9a51326

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/TRDH_alg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,6 @@ function SolverCore.solve!(
525525
end
526526

527527
set_solution!(stats, xk)
528-
528+
set_residuals!(stats, zero(eltype(xk)), sqrt_ξ_νInv)
529529
return stats
530530
end

src/TR_alg.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,4 +487,7 @@ function SolverCore.solve!(
487487
)
488488
@info "TR: terminating with √(ξ1/ν) = $(sqrt_ξ1_νInv)"
489489
end
490+
491+
set_solution!(stats, xk)
492+
set_residuals!(stats, zero(eltype(xk)), sqrt_ξ1_νInv)
490493
end

0 commit comments

Comments
 (0)