Skip to content

Commit

Permalink
Remove JAX deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Nov 14, 2024
1 parent b3c59ea commit f00c3d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jaxsim/integrators/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ def _compute_next_state(
f = lambda x, t: self.dynamics(x=x, t=t, **kwargs)

# Initialize the carry of the for loop with the stacked kᵢ vectors.
carry0 = jax.tree_map(
carry0 = jax.tree.map(
lambda l: jnp.zeros((c.size, *l.shape), dtype=l.dtype), x0
)

Expand Down

0 comments on commit f00c3d4

Please sign in to comment.