Skip to content

Commit

Permalink
Update to use CBA in MBP::CalcTamsiResults() (RobotLocomotion#12838)
Browse files Browse the repository at this point in the history
* Update to use CBA in MBP::CalcTamsiResults()
  • Loading branch information
amcastro-tri authored Mar 9, 2020
1 parent 7875b8b commit 3809514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multibody/plant/multibody_plant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1821,7 +1821,7 @@ void MultibodyPlant<T>::CalcTamsiResults(

// Mass matrix and its factorization.
MatrixX<T> M0(nv, nv);
internal_tree().CalcMassMatrixViaInverseDynamics(context0, &M0);
internal_tree().CalcMassMatrix(context0, &M0);
auto M0_ldlt = M0.ldlt();

// Forces at the previous time step.
Expand Down

0 comments on commit 3809514

Please sign in to comment.