Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Filippo Luca Ferretti <[email protected]>
  • Loading branch information
diegoferigo and flferretti authored Oct 8, 2024
1 parent 2bd727b commit e1434e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jaxsim/api/kin_dyn_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ def build_from(model_description: ModelDescription) -> ContactParameters:
cp = ContactParameters(
point=points,
body=link_index_of_points,
enabled=tuple(jnp.ones(len(link_index_of_points), dtype=bool).tolist()),
enabled=tuple(True for _ in link_index_of_points),
)

assert cp.point.shape[1] == 3, cp.point.shape[1]
Expand Down

0 comments on commit e1434e1

Please sign in to comment.