Skip to content

Commit 9880a5f

Browse files
MaxenceGollierdpo
authored andcommitted
update outdict stats in TRDH
1 parent c71e24b commit 9880a5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/TRDH_alg.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ function TRDH(
6767
u_bound = nlp.meta.uvar,
6868
kwargs...,
6969
)
70-
ξ = outdict[:ξ]
70+
sqrt_ξ_νInv = outdict[:sqrt_ξ_νInv]
7171
stats = GenericExecutionStats(nlp)
7272
set_status!(stats, outdict[:status])
7373
set_solution!(stats, xk)
7474
set_objective!(stats, outdict[:fk] + outdict[:hk])
75-
set_residuals!(stats, zero(eltype(xk)), ξ)
75+
set_residuals!(stats, zero(eltype(xk)), sqrt_ξ_νInv)
7676
set_iter!(stats, k)
7777
set_time!(stats, outdict[:elapsed_time])
7878
set_solver_specific!(stats, :Fhist, outdict[:Fhist])
@@ -362,7 +362,7 @@ function TRDH(
362362
:status => status,
363363
:fk => fk,
364364
:hk => hk,
365-
:ξ => sqrt_ξ_νInv,
365+
:sqrt_ξ_νInv => sqrt_ξ_νInv,
366366
:elapsed_time => elapsed_time,
367367
)
368368

0 commit comments

Comments
 (0)