-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: Ensure too many advanced indices raises an exception
The number of indices is limited to 2*MAXDIMS currently to allow mixing integer indices, e.g. with new indices `np.newaxis` (one removes output dimensions, the other adds new ones). This means that more than MAXDIMS advanced indices can be passed on to the advanced indexing machinery (`MapIterNew`), which did not check for this possibility. Closes gh-18145
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters