diff --git a/include/mp/flat/constr_2_expr.h b/include/mp/flat/constr_2_expr.h index 81bc5f500..8c7b929de 100644 --- a/include/mp/flat/constr_2_expr.h +++ b/include/mp/flat/constr_2_expr.h @@ -284,8 +284,9 @@ class Constraints2Expr { bool HasExpressionArgs(const LinTerms& lt) const { for (auto v: lt.vars()) - if (!MPCD( IsProperVar(v) )) + if (!MPCD( IsProperVar(v) )) { return true; + } return false; } @@ -415,9 +416,9 @@ class Constraints2Expr { result.reserve(ltin.size() - nvars); int v=0; for (size_t i=0; i