Skip to content

Commit

Permalink
👌 Missing return
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jan 5, 2019
1 parent befb2d3 commit 0efbb59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/constraints.jl
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,8 @@ evaluation of `2x + 3y`.
```
"""
function value(cref::ConstraintRef{Model, <:MOICON})
reshape(MOI.get(cref.model, MOI.ConstraintPrimal(), cref), cref.shape)
return reshape(MOI.get(cref.model, MOI.ConstraintPrimal(), cref),
cref.shape)
end

"""
Expand Down

0 comments on commit 0efbb59

Please sign in to comment.