Skip to content

Commit

Permalink
Address deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Jun 19, 2024
1 parent 2dc884f commit 7250666
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/jaxsim/integrators/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,9 @@ def compute_ki() -> jax.Array:

# Update the FSAL property for the next iteration.
if self.has_fsal:
self.params["dxdt0"] = jax.tree_map(lambda l: l[self.index_of_fsal], K)
self.params["dxdt0"] = jax.tree_util.tree_map(
lambda l: l[self.index_of_fsal], K
)

# Compute the output state.
# Note that z contains as many new states as the rows of `b.T`.
Expand Down

0 comments on commit 7250666

Please sign in to comment.