diff --git a/src/jaxsim/rbda/crba.py b/src/jaxsim/rbda/crba.py index 74088b54b..1d45dbd8d 100644 --- a/src/jaxsim/rbda/crba.py +++ b/src/jaxsim/rbda/crba.py @@ -139,14 +139,7 @@ def compute_inner(carry: CarryInnerFn) -> tuple[CarryInnerFn, None]: xs=jnp.flip(jnp.arange(start=1, stop=model.number_of_links())), ) if model.number_of_links() > 1 - else [ - ( - j, - Fi, - M, - ), - None, - ] + else [(j, Fi, M), None] ) Fi = i_X_0[j].T @ Fi