Skip to content

Commit b787dd6

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/R2NLS.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ where `F: ℝⁿ → ℝᵐ` is a vector-valued function defining the least-squa
178178
179179
For advanced usage, first create a `R2NLSSolver` to preallocate the necessary memory for the algorithm, and then call `solve!`:
180180
181-
solver = R2NLSSolver(nlp)
182-
solve!(solver, nlp; kwargs...)
181+
solver = R2NLSSolver(nls)
182+
solve!(solver, nls; kwargs...)
183183
184184
# Arguments
185185

0 commit comments

Comments
 (0)