Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Sep 20, 2023
1 parent c40712f commit 8692dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nlp_expr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8692dd0

Please sign in to comment.