You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import numpy as onp
import jax.numpy as jnp
oa = onp.zeros((7,3))
ob = onp.array([1,6])
ja = jnp.zeros((7,3))
jb = jnp.array([1,6])
print(oa[ob]) # works
print(ja[jb]) # works
print(ja[ob]) # works
print(oa[jb, :]) # works
print(oa[jb]) # throws an IndexError
The text was updated successfully, but these errors were encountered:
Yes, this is unfortunate. As far as we can tell, this is basically a NumPy bug (but at least should be automatically fixed once some deprecated behavior is removed). Let's keep discussion over in #620, though.
The text was updated successfully, but these errors were encountered: