From 8692dd0e2923fdc6660f1d19f374b085b616b774 Mon Sep 17 00:00:00 2001 From: odow Date: Thu, 21 Sep 2023 11:46:29 +1200 Subject: [PATCH] Update --- src/nlp_expr.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nlp_expr.jl b/src/nlp_expr.jl index 462b3d597cf..7d3f87c141f 100644 --- a/src/nlp_expr.jl +++ b/src/nlp_expr.jl @@ -584,7 +584,7 @@ end function jump_function(model::GenericModel, expr::MOI.Nonlinear.Expression) V = variable_ref_type(typeof(model)) - nlp = nonlinear_model(model) + nlp = nonlinear_model(model)::MOI.Nonlinear.Model parsed = Vector{Any}(undef, length(expr.nodes)) adj = MOI.Nonlinear.adjacency_matrix(expr.nodes) rowvals = SparseArrays.rowvals(adj)