Skip to content
Snippets Groups Projects
Commit 29a65e41 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[C++] fix compilation warning

parent a673a4f2
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ long int computeNumIneq(const ProblemData& pData, const VectorX& Ts, const std::
void updateH(const ProblemData& pData, const ContactData& phase, MatrixXX& mH, VectorX& h, int& dimH) {
VectorX hrow;
centroidal_dynamics::MatrixXX Hrow;
centroidal_dynamics::LP_status status = phase.contactPhase_->getPolytopeInequalities(Hrow, hrow);
phase.contactPhase_->getPolytopeInequalities(Hrow, hrow);
assert(status == centroidal_dynamics::LP_STATUS_OPTIMAL &&
"Error in centroidal dynamics lib while computing inequalities");
mH = -Hrow * phase.contactPhase_->m_mass;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment