Skip to content

Commit

Permalink
Make is_force kwarg-only and remove default value
Browse files Browse the repository at this point in the history
Co-authored-by: Alessandro Croci <alessandro.croci@iit.it>
  • Loading branch information
flferretti and xela-95 committed Jun 4, 2024
1 parent 31766ba commit 6a7effb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/jaxsim/api/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ def inertial_to_other_representation(
array: jtp.Array,
other_representation: VelRepr,
transform: jtp.Matrix,
is_force: bool = False,
*,
is_force: bool,
) -> jtp.Array:
r"""
Convert a 6D quantity from inertial-fixed to another representation.
Expand Down Expand Up @@ -153,7 +154,8 @@ def other_representation_to_inertial(
array: jtp.Array,
other_representation: VelRepr,
transform: jtp.Matrix,
is_force: bool = False,
*,
is_force: bool,
) -> jtp.Array:
r"""
Convert a 6D quantity from another representation to inertial-fixed.
Expand Down

0 comments on commit 6a7effb

Please sign in to comment.