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

[Tests] fix mistake in test-transition (correctly test the force formulation)

parent 610abf57
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ void check_transition(bezier_com_traj::ProblemData& pData, VectorX Ts, bool shou
if (test_continuous) {
res = bezier_com_traj::computeCOMTraj(pData, Ts, -1, solvers::SOLVER_QUADPROG);
BOOST_CHECK(!res.success_);
pData.representation_ == bezier_com_traj::FORCE;
pData.representation_ = bezier_com_traj::FORCE;
res = bezier_com_traj::computeCOMTraj(pData, Ts, -1, solvers::SOLVER_QUADPROG);
BOOST_CHECK(!res.success_);
#ifdef USE_GLPK_SOLVER
......
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