We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7306128 commit 3b4fc43Copy full SHA for 3b4fc43
1 file changed
src/linspire.cpp
@@ -31,7 +31,7 @@ namespace linspire
31
if (const auto it = exprs.find(s_expr); it != exprs.cend()) // we already have a slack variable for this expression..
32
return it->second;
33
// we create a new slack variable for this expression..
34
- utils::var slack = new_var(lb(l), ub(l));
+ utils::var slack = new_var();
35
vars[slack].val = val(l);
36
exprs.emplace(s_expr, slack);
37
new_row(slack, std::move(l));
0 commit comments