Skip to content

Commit 51f4a3e

Browse files
committed
make progress on LM
1 parent 954a799 commit 51f4a3e

File tree

4 files changed

+189
-254
lines changed

4 files changed

+189
-254
lines changed

src/NonlinearSolve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ include("extension_algs.jl")
170170
include("linesearch.jl")
171171
include("raphson.jl")
172172
# include("trustRegion.jl")
173-
# include("levenberg.jl")
173+
include("levenberg.jl")
174174
include("gaussnewton.jl")
175175
include("dfsane.jl")
176176
include("pseudotransient.jl")

src/gaussnewton.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ end
152152
function __reinit_internal!(cache::GaussNewtonCache;
153153
termination_condition = get_termination_mode(cache.tc_cache_1), kwargs...)
154154
abstol, reltol, tc_cache_1 = init_termination_cache(cache.abstol, cache.reltol,
155-
cache.fu1, cache.u, termination_condition)
156-
_, _, tc_cache_2 = init_termination_cache(cache.abstol, cache.reltol, cache.fu1,
155+
cache.fu, cache.u, termination_condition)
156+
_, _, tc_cache_2 = init_termination_cache(cache.abstol, cache.reltol, cache.fu,
157157
cache.u, termination_condition)
158158

159159
cache.tc_cache_1 = tc_cache_1

0 commit comments

Comments
 (0)