Skip to content

Commit 53c40b8

Browse files
remove dead code
1 parent f85deac commit 53c40b8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/LM_alg.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,6 @@ function SolverCore.solve!(
288288
local ρk::T = zero(T)
289289

290290
residual!(nls, xk, Fk)
291-
#solver.subpb.model.J = jac_op_residual!(nls, xk, Jv, Jtv)
292291
jtprod_residual!(nls, xk, Fk, ∇fk)
293292
fk = dot(Fk, Fk) / 2
294293

@@ -420,7 +419,6 @@ function SolverCore.solve!(
420419

421420
# update gradient & Hessian
422421
shift!(ψ, xk)
423-
#solver.subpb.model.J = jac_op_residual!(nls, xk, Jv, Jtv)
424422
jtprod_residual!(nls, xk, Fk, ∇fk)
425423

426424
# update opnorm if not linear least squares

0 commit comments

Comments
 (0)