From 8c23dcdd43687ffad5823ce3b41db9232ee947d2 Mon Sep 17 00:00:00 2001 From: MohamedLaghdafHABIBOULLAH Date: Fri, 12 Sep 2025 16:24:21 -0400 Subject: [PATCH] add solutions to stats TR and TRDH --- src/TRDH_alg.jl | 2 +- src/TR_alg.jl | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/TRDH_alg.jl b/src/TRDH_alg.jl index 3cfc287f..f91319f5 100644 --- a/src/TRDH_alg.jl +++ b/src/TRDH_alg.jl @@ -525,6 +525,6 @@ function SolverCore.solve!( end set_solution!(stats, xk) - + set_residuals!(stats, zero(eltype(xk)), sqrt_ξ_νInv) return stats end diff --git a/src/TR_alg.jl b/src/TR_alg.jl index 47c87d3c..e53b7f89 100644 --- a/src/TR_alg.jl +++ b/src/TR_alg.jl @@ -487,4 +487,7 @@ function SolverCore.solve!( ) @info "TR: terminating with √(ξ1/ν) = $(sqrt_ξ1_νInv)" end + + set_solution!(stats, xk) + set_residuals!(stats, zero(eltype(xk)), sqrt_ξ1_νInv) end