Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Fix the signature for np.array_api.take
The array_api take() doesn't flatten the array by default, so the axis argument must be provided for multidimensional arrays. However, it should be optional when the input array is 1-D, which the signature previously did not allow. c.f. data-apis/array-api#644
- Loading branch information