Skip to content

Commit 4ff3e43

Browse files
Merge branch 'king-p3nguin-fix-jax-dep-warning'
2 parents e2cc48b + 2eece6b commit 4ff3e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorcircuit/cons.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def set_dtype(dtype: Optional[str] = None, set_global: bool = True) -> Tuple[str
152152
raise ValueError(f"Unsupported data type: {dtype}")
153153

154154
try:
155-
from jax.config import config
155+
from jax import config
156156
except ImportError:
157157
config = None # type: ignore
158158

0 commit comments

Comments
 (0)