Skip to content

Commit

Permalink
Check if J_cols computation is necessary
Browse files Browse the repository at this point in the history
See #2171
  • Loading branch information
stephane-caron committed Mar 18, 2024
1 parent 55b4037 commit 3ebd68e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/pinocchio/algorithm/aba.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,6 @@ namespace pinocchio
else
data.oMi[i] = data.liMi[i];

typedef typename SizeDepType<JointModel::NV>::template ColsReturn<typename Data::Matrix6x>::Type ColsBlock;
ColsBlock J_cols = jmodel.jointCols(data.J);
J_cols = data.oMi[i].act(jdata.S());

data.Yaba[i] = model.inertias[i].matrix();
}

Expand Down

0 comments on commit 3ebd68e

Please sign in to comment.