Commit b0c9d98d authored by Steve Tonneau's avatar Steve Tonneau Committed by Pierre Fernbach
Browse files

never returns empyt matrix

parent 50e40834
......@@ -30,6 +30,8 @@ boost::python::tuple wrapGetPolytopeInequalities(Equilibrium& self)
{
MatrixXX H;
VectorX h;
H = MatrixXX::Zero(6,6);
h = VectorX::Zero(6,1);
self.getPolytopeInequalities(H,h);
MatrixXXColMajor _H = H;
return boost::python::make_tuple(_H, h);
......
Supports Markdown
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