Skip to content

Commit

Permalink
Update _moi_get_result (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Nov 14, 2021
1 parent 3acc0b8 commit 5bede1a
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 5bede1a

Please sign in to comment.