Skip to content

Commit

Permalink
Update typing of random key
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Dec 6, 2023
1 parent 50aea06 commit b18b930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jaxsim/high_level/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def joint_positions(self, joint_names: tuple[str, ...] = None) -> jtp.Vector:

@functools.partial(oop.jax_tf.method_ro, static_argnames=["joint_names"])
def joint_random_positions(
self, joint_names: tuple[str, ...] = None, key: jax.random.PRNGKeyArray = None
self, joint_names: tuple[str, ...] = None, key: jax.Array = None
) -> jtp.Vector:
""""""

Expand Down

0 comments on commit b18b930

Please sign in to comment.