Skip to content

Commit

Permalink
Make output_vel_repr non-static in api.link
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed May 23, 2024
1 parent a380a22 commit a262dda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jaxsim/api/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def com_in_inertial_frame():
)


@functools.partial(jax.jit, static_argnames=["output_vel_repr"])
@jax.jit
def jacobian(
model: js.model.JaxSimModel,
data: js.data.JaxSimModelData,
Expand Down Expand Up @@ -295,7 +295,7 @@ def jacobian(
return O_J_WL_I


@functools.partial(jax.jit, static_argnames=["output_vel_repr"])
@jax.jit
def velocity(
model: js.model.JaxSimModel,
data: js.data.JaxSimModelData,
Expand Down

0 comments on commit a262dda

Please sign in to comment.