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 7, 2024
1 parent 109d5b1 commit 247826f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jaxsim/api/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def build(
dtype=float,
).squeeze()

gravity = jnp.zeros(3, dtype=float).at[2].set(-standard_gravity)
gravity = jnp.zeros(3).at[2].set(-standard_gravity)

joint_positions = jnp.atleast_1d(
jnp.array(
Expand Down

0 comments on commit 247826f

Please sign in to comment.