Skip to content

Commit

Permalink
Update nls.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
tmigot authored Dec 20, 2023
1 parent ac9e8a3 commit 714f3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nls.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ADNLSModel(
adbackend::ADModelBackend,
F,
c,
) where {T, S} = ADNLSModel(meta, nls_meta, counters, adbackend, F, Int[], Int[], T[], c)
) where {T, S} = ADNLSModel(meta, nls_meta, counters, adbackend, F, Int[], Int[], similar(meta.x0, 0), c)

ADNLPModels.show_header(io::IO, nls::ADNLSModel) = println(
io,
Expand Down

0 comments on commit 714f3c8

Please sign in to comment.