From 0efbb59beb57dea84899e17a683e679339298f22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Sat, 5 Jan 2019 10:54:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=20Missing=20return?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/constraints.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/constraints.jl b/src/constraints.jl index 08cecb9e9d6..cba95aca8a2 100644 --- a/src/constraints.jl +++ b/src/constraints.jl @@ -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 """