Skip to content

Commit

Permalink
[algo/jacobian] Remove useless cast
Browse files Browse the repository at this point in the history
  • Loading branch information
Megane Millan committed Jan 16, 2025
1 parent 995dfee commit 103499a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/pinocchio/algorithm/jacobian.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ namespace pinocchio
{
Pass::run(
model.joints[i], data.joints[i],
typename Pass::ArgsType(model, data, q.derived(), J_.const_cast_derived()));
typename Pass::ArgsType(model, data, q.derived(), J_));
}
}

Expand Down

0 comments on commit 103499a

Please sign in to comment.