Commit bd2a5ca4 authored by David Bommes's avatar David Bommes

added necessary resize

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@244 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent b7509db7
......@@ -72,6 +72,7 @@ int main(void)
// set x = -3.0
COMISO::LinearConstraint lc;
lc.resize(n);
lc.coeffs().coeffRef(0) = 1.0;
lc.b() = 3.0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment