Skip to content

Commit 1787811

Browse files
update νInv according to Maxence Proposal
1 parent 435a069 commit 1787811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LM_alg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ function LM(
261261
if ρk < η1 || ρk == Inf
262262
σk = σk * γ
263263
end
264-
νInv = (1 + θ) * (σmax^2 + σk) # ‖J'J + σₖ I‖ = ‖J‖² + σₖ
264+
νInv = (σmax^2 + σk) / θ # ‖J'J + σₖ I‖ = ‖J‖² + σₖ
265265
tired = k maxIter || elapsed_time > maxTime
266266
end
267267

0 commit comments

Comments
 (0)