Skip to content

Commit

Permalink
Fix deprecations according to JAX 0.4.17
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Oct 4, 2023
1 parent 48c54f0 commit 1f84317
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/jaxsim/utils/jaxsim_dataclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
import dataclasses
from typing import Generator

import jax.abstract_arrays
import jax.flatten_util
import jax.interpreters.partial_eval
import jax_dataclasses

import jaxsim.typing as jtp
Expand Down
2 changes: 0 additions & 2 deletions src/jaxsim/utils/tracing.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import Any

import jax._src.core
import jax.abstract_arrays
import jax.flatten_util
import jax.interpreters.partial_eval

Expand All @@ -14,7 +13,6 @@ def tracing(var: Any) -> bool | jax.Array:
isinstance(var, t)
for t in (
jax._src.core.Tracer,
jax.abstract_arrays.ShapedArray,
jax.interpreters.partial_eval.DynamicJaxprTracer,
)
]
Expand Down

0 comments on commit 1f84317

Please sign in to comment.