Skip to content

Commit

Permalink
Fix get_batch_axes()
Browse files Browse the repository at this point in the history
  • Loading branch information
brentyi committed Feb 1, 2023
1 parent 76c3042 commit ad93513
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion jaxlie/utils/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ def _wrap(cls: Type[T]) -> Type[T]:

# JIT all methods.
for f in filter(
lambda f: not f.startswith("_") and callable(getattr(cls, f)),
lambda f: not f.startswith("_")
and callable(getattr(cls, f))
and f != "get_batch_axes", # Avoid returning tracers.
dir(cls),
):
setattr(cls, f, jax.jit(getattr(cls, f)))
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="jaxlie",
version="1.3.0",
version="1.3.1",
description="Matrix Lie groups in Jax",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit ad93513

Please sign in to comment.