Skip to content

Commit ed68374

Browse files
authored
allocs_model.jl: avoid undefined value error
1 parent 1c12b35 commit ed68374

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/allocs_model.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ function test_zero_allocations(nlp::AbstractNLPModel; kwargs...)
400400
return test_zero_allocations(table, get_name(nlp))
401401
end
402402

403-
function test_zero_allocations(nlp::AbstractNLSModel; linear_api = linear_api, kwargs...)
403+
function test_zero_allocations(nlp::AbstractNLSModel; linear_api = false, kwargs...)
404404
table_nlp = test_allocs_nlpmodels(nlp; linear_api = linear_api, kwargs...)
405405
table_nls = test_allocs_nlsmodels(nlp; kwargs...)
406406
table = merge(table_nlp, table_nls)

0 commit comments

Comments
 (0)