Commits

Martin Felis committed 00015ef

fixed evil bug in FDLagrangian (did not properly set VectorNd to zero)

  • Participants
  • Parent commits 80e32fe
  • Branches dev

Comments (0)

Files changed (1)

File src/Dynamics.cc

 
 	// we set QDDot to zero to compute C properly with the InverseDynamics
 	// method.
-	QDDot.Zero(QDDot.size());
+	QDDot.setZero();
 
 	// we first have to call InverseDynamics as it will update the spatial
 	// joint axes which CRBA does not do on its own!