Skip to content

Commit

Permalink
Do not check for problem size change in Eiquadprog solver, since the
Browse files Browse the repository at this point in the history
solver deals with this internally
  • Loading branch information
dmronga committed May 6, 2024
1 parent 280d4ea commit 154389f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/solvers/eiquadprog/EiquadprogSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ void EiquadprogSolver::solve(const wbc::HierarchicalQP& hierarchical_qp, base::V

configured = true;
}
else
{
if(n_var != _CI_mtx.cols())
throw std::runtime_error("QP problem changed dynamically. Not supported at the moment.");
if(n_in != _CI_mtx.rows())
throw std::runtime_error("QP problem changed dynamically. Not supported at the moment.");
}

_CI_mtx.setZero();

Expand Down

0 comments on commit 154389f

Please sign in to comment.