Skip to content

Commit 20699c9

Browse files
MohamedLaghdafHABIBOULLAHdpo
authored andcommitted
add solutions to stats TR and TRDH
1 parent b9797b2 commit 20699c9

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)