Skip to content

Commit

Permalink
Avoid unnecessary jax.vmap in rbda.forward_kinematics
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Nov 20, 2024
1 parent f3b039e commit a4716de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jaxsim/rbda/forward_kinematics.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def propagate_kinematics(
else [(W_X_i,), None]
)

return jax.vmap(Adjoint.to_transform)(W_X_i)
return Adjoint.to_transform(W_X_i)


def forward_kinematics(
Expand Down

0 comments on commit a4716de

Please sign in to comment.