Skip to content

Commit

Permalink
solved an unsupported deprecation, ops.index. replaced to jnp.index_e…
Browse files Browse the repository at this point in the history
…xp. See jax-ml/jax#10293.
  • Loading branch information
HajimeKawahara committed Apr 14, 2022
1 parent b561111 commit 4b350aa
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/exojax/experimental/ditfnu.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from jax.lax import scan
import tqdm
from exojax.spec.ditkernel import folded_voigt_kernel
from jax.ops import index as joi
from jax.numpy import index_exp as joi
from exojax.spec.dit import getix


Expand Down
2 changes: 1 addition & 1 deletion src/exojax/experimental/moditfnu.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from jax.lax import scan
import tqdm
from exojax.spec.ditkernel import folded_voigt_kernel_logst
from jax.ops import index as joi
from jax.numpy import index_exp as joi
from exojax.spec.dit import getix


Expand Down
2 changes: 1 addition & 1 deletion src/exojax/experimental/redit.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from jax.lax import scan
import tqdm
from exojax.spec.ditkernel import folded_voigt_kernel_logst
from jax.ops import index as joi
from jax.numpy import index_exp as joi
from exojax.spec.dit import getix
from exojax.spec.modit import inc2D_givenx
from exojax.spec.lpf import voigt
Expand Down
2 changes: 1 addition & 1 deletion src/exojax/spec/dit.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from jax import jit, vmap
from jax.lax import scan
from exojax.spec.ditkernel import fold_voigt_kernel
from jax.ops import index as joi
from jax.numpy import index_exp as joi
from exojax.spec.atomll import padding_2Darray_for_each_atom
from exojax.spec.rtransfer import dtauM

Expand Down
2 changes: 1 addition & 1 deletion src/exojax/spec/modit.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from exojax.spec.ditkernel import fold_voigt_kernel_logst
from exojax.spec.ditkernel import voigt_kernel_logst

from jax.ops import index as joi
from jax.numpy import index_exp as joi
from exojax.spec.dit import getix

# exomol
Expand Down

0 comments on commit 4b350aa

Please sign in to comment.