Skip to content

Commit

Permalink
ImportError Fixed: Use jax.config.update and remove import .__version (
Browse files Browse the repository at this point in the history
…#138)

* use jax.config.update

* add version import back
  • Loading branch information
stevengogogo authored Jul 20, 2024
1 parent 0b1cac3 commit e15eb9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tornadox/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
"""Collect all modules into the tornadox.* namespace"""

from jax.config import config
import jax

from . import ek0, ek1, experimental, init, ivp, iwp, kalman, odefilter, rv, sqrt, step

config.update("jax_enable_x64", True)
jax.config.update("jax_enable_x64", True)


from ._version import version as __version__
from ._version import version as __version__

0 comments on commit e15eb9d

Please sign in to comment.