Skip to content

Commit 2665c87

Browse files
farhadrclassdpo
andauthored
Update src/R2NLS.jl
Co-authored-by: Dominique <[email protected]>
1 parent b308bb5 commit 2665c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/R2NLS.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ function SolverCore.solve!(
587587
f = fck
588588
resid_norm = resid_norm_t
589589
mul!(∇f, Jx', r) # ∇f = Jx' * r
590-
set_objective!(stats, fck)
590+
set_objective!(stats, f)
591591
norm_∇fk = norm(∇f)
592592

593593
if ρk >= η2

0 commit comments

Comments
 (0)