Skip to content

Commit 0422c01

Browse files
update x0 to x kwarg
1 parent 751570f commit 0422c01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/LMTR_alg.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,10 @@ function LMTR(
182182
kwargs_dict = Dict(kwargs...)
183183
selected = pop!(kwargs_dict, :selected, 1:(nls.meta.nvar))
184184
reg_nls = RegularizedNLPModel(nls, h, selected)
185+
x0 = pop!(kwargs_dict, :x0, nls.meta.x0)
185186
return LMTR(
186187
reg_nls;
188+
x = x0,
187189
χ = χ,
188190
atol = options.ϵa,
189191
rtol = options.ϵr,

0 commit comments

Comments
 (0)