From ed683746bfa2f249308e598ddedddcfe87cd6641 Mon Sep 17 00:00:00 2001 From: Dominique Date: Tue, 12 Aug 2025 16:55:33 -0400 Subject: [PATCH] allocs_model.jl: avoid undefined value error --- src/allocs_model.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allocs_model.jl b/src/allocs_model.jl index eade199..fa4bddc 100644 --- a/src/allocs_model.jl +++ b/src/allocs_model.jl @@ -400,7 +400,7 @@ function test_zero_allocations(nlp::AbstractNLPModel; kwargs...) return test_zero_allocations(table, get_name(nlp)) end -function test_zero_allocations(nlp::AbstractNLSModel; linear_api = linear_api, kwargs...) +function test_zero_allocations(nlp::AbstractNLSModel; linear_api = false, kwargs...) table_nlp = test_allocs_nlpmodels(nlp; linear_api = linear_api, kwargs...) table_nls = test_allocs_nlsmodels(nlp; kwargs...) table = merge(table_nlp, table_nls)