Skip to content

Commit

Permalink
Update _moi_get_result
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Nov 13, 2021
1 parent 3acc0b8 commit 94f633a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jump_moi_overloads.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function _moi_get_result(model::MOIU.CachingOptimizer, args...)
end
function MOI.get(model::JuMP.Model, attr::ForwardOutVariablePrimal, var_ref::JuMP.VariableRef)
JuMP.check_belongs_to_model(var_ref, model)
return MOI.get(JuMP.backend(model), attr, JuMP.index(var_ref))
return _moi_get_result(JuMP.backend(model), attr, JuMP.index(var_ref))
end

"""
Expand Down

0 comments on commit 94f633a

Please sign in to comment.