@@ -100,7 +100,7 @@ BOOST_AUTO_TEST_CASE ( test_task_se3_equality )
100100 BOOST_REQUIRE (isFinite (constraint.vector ()));
101101
102102 pseudoInverse (constraint.matrix (), Jpinv, 1e-4 );
103- Vector dv = Jpinv * constraint.vector ();
103+ ConstRefVector dv = Jpinv * constraint.vector ();
104104 BOOST_REQUIRE (isFinite (Jpinv));
105105 BOOST_CHECK (MatrixXd::Identity (6 ,6 ).isApprox (constraint.matrix ()*Jpinv));
106106 if (!isFinite (dv))
@@ -159,7 +159,7 @@ BOOST_AUTO_TEST_CASE ( test_task_com_equality )
159159 BOOST_CHECK (task.Kp ().isApprox (Kp));
160160 BOOST_CHECK (task.Kd ().isApprox (Kd));
161161
162- Vector3 com_ref = data.com [0 ] + pinocchio::SE3::Vector3 (0.02 ,0.02 ,0.02 );
162+ math:: Vector3 com_ref = data.com [0 ] + pinocchio::SE3::Vector3 (0.02 ,0.02 ,0.02 );
163163 TrajectoryBase *traj = new TrajectoryEuclidianConstant (" traj_com" , com_ref);
164164 TrajectorySample sample;
165165
@@ -180,7 +180,7 @@ BOOST_AUTO_TEST_CASE ( test_task_com_equality )
180180 BOOST_REQUIRE (isFinite (constraint.vector ()));
181181
182182 pseudoInverse (constraint.matrix (), Jpinv, 1e-5 );
183- Vector dv = Jpinv * constraint.vector ();
183+ ConstRefVector dv = Jpinv * constraint.vector ();
184184 BOOST_REQUIRE (isFinite (Jpinv));
185185 BOOST_CHECK (MatrixXd::Identity (constraint.rows (),constraint.rows ()).isApprox (constraint.matrix ()*Jpinv));
186186 BOOST_REQUIRE (isFinite (dv));
@@ -228,7 +228,7 @@ BOOST_AUTO_TEST_CASE ( test_task_joint_posture )
228228 BOOST_CHECK (task.Kd ().isApprox (Kd));
229229
230230 cout<<" Gonna create reference trajectory\n " ;
231- Vector q_ref = Vector::Random (na);
231+ ConstRefVector q_ref = math:: Vector::Random (na);
232232 TrajectoryBase *traj = new TrajectoryEuclidianConstant (" traj_joint" , q_ref);
233233 TrajectorySample sample;
234234
@@ -252,7 +252,7 @@ BOOST_AUTO_TEST_CASE ( test_task_joint_posture )
252252 BOOST_REQUIRE (isFinite (constraint.vector ()));
253253
254254 pseudoInverse (constraint.matrix (), Jpinv, 1e-5 );
255- Vector dv = Jpinv * constraint.vector ();
255+ ConstRefVector dv = Jpinv * constraint.vector ();
256256 BOOST_REQUIRE (isFinite (Jpinv));
257257 BOOST_CHECK (MatrixXd::Identity (na,na).isApprox (constraint.matrix ()*Jpinv));
258258 BOOST_REQUIRE (isFinite (dv));
0 commit comments