From 8f7e608d6463cab8d95d447b9c09fae394785c8d Mon Sep 17 00:00:00 2001
From: pFernbach <pierre.fernbach@gmail.com>
Date: Wed, 15 Jan 2020 17:26:36 +0100
Subject: [PATCH] [Tests] fix mistake in test-transition (correctly test the
 force formulation)

---
 tests/test-transition.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test-transition.cpp b/tests/test-transition.cpp
index 6627518..7a255d8 100644
--- a/tests/test-transition.cpp
+++ b/tests/test-transition.cpp
@@ -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
-- 
GitLab