Skip to content

Commit 2349903

Browse files
author
earlaud
committed
Fix test getContactForces
1 parent f915d5d commit 2349903

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mpc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ BOOST_AUTO_TEST_CASE(mpc_fulldynamics)
9191

9292
Eigen::VectorXd xdot = mpc.getStateDerivative(0);
9393

94-
Eigen::VectorXd forces = mpc.getContactForces(0);
94+
Eigen::Matrix<double, Eigen::Dynamic, 3> forces = mpc.getContactForces(0);
9595
}
9696

9797
BOOST_AUTO_TEST_CASE(mpc_kinodynamics)

0 commit comments

Comments
 (0)