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
The NumPy-like indexing checks for NumpyArray, not RegularArray. We should use something like maybe_toNumpyArray beforehand to fulfil this.
The text was updated successfully, but these errors were encountered:
agoose77
added
bug (unverified)
The problem described would be a bug, but needs to be triaged
bug
The problem described is something that must be fixed
and removed
bug (unverified)
The problem described would be a bug, but needs to be triaged
labels
Mar 9, 2022
What should array[EmptyArray()] return? Currently it is returning a NumpyArray with int64. This seems wrong to me, but there is no clear idea of what would be right. Maybe this should be an error?
Version of Awkward Array
c2ddda2
Description and code to reproduce
Cause
The NumPy-like indexing checks for
NumpyArray
, notRegularArray
. We should use something likemaybe_toNumpyArray
beforehand to fulfil this.The text was updated successfully, but these errors were encountered: