From 90ba7b280d54bf7edcabcd7c77ca5f65ca455684 Mon Sep 17 00:00:00 2001 From: odow Date: Thu, 22 Aug 2024 08:56:21 +1200 Subject: [PATCH] Update --- ext/NLoptMathOptInterfaceExt.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/NLoptMathOptInterfaceExt.jl b/ext/NLoptMathOptInterfaceExt.jl index 5392198..4933c33 100644 --- a/ext/NLoptMathOptInterfaceExt.jl +++ b/ext/NLoptMathOptInterfaceExt.jl @@ -819,7 +819,7 @@ function MOI.optimize!(model::Optimizer) _initialize_options!(model) if model.nlp_model !== nothing vars = MOI.VariableIndex.(1:num_variables) - model.nlp_data = MOI.NLPBlock( + model.nlp_data = MOI.NLPBlockData( MOI.Nonlinear.Evaluator(model.nlp_model, model.ad_backend, vars), ) end