File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ This new release adds support for sparse cost matrices and a new lazy EMD solver
2121- Fix openmp flags on macOS (PR #789 )
2222- Clean documentation (PR #787 )
2323- Fix code coverage (PR #791 )
24+ - Fix test of the version of jax in ` ot.backend ` (PR #794 )
2425
2526
2627## 0.9.6.post1
Original file line number Diff line number Diff line change 122122 from jax .extend .backend import get_backend as _jax_get_backend
123123
124124 jax_type = jax .numpy .ndarray
125- jax_new_version = float ("." .join (jax .__version__ .split ("." )[1 :])) > 4.24
125+ jax_new_version = tuple ([float (s ) for s in jax .__version__ .split ("." )]) > (
126+ 0 ,
127+ 4 ,
128+ 24 ,
129+ 0 ,
130+ )
126131 except ImportError :
127132 jax = False
128133 jax_type = float
You can’t perform that action at this time.
0 commit comments