From 714f3c8252b2baf2aa4d720f609430438cc62643 Mon Sep 17 00:00:00 2001 From: tmigot Date: Wed, 20 Dec 2023 09:57:21 +0100 Subject: [PATCH] Update nls.jl --- src/nls.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nls.jl b/src/nls.jl index df5a6a08..3d829597 100644 --- a/src/nls.jl +++ b/src/nls.jl @@ -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,