-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify handling of unsupported C API
stride
arguments (#4963)
The C API contains arguments for `stride` that are unsupported. This PR simplifies the internal handling of them. The main tactic for simplification is deal with these arguments in the C API implementation function and remove the arguments from the functions that support them. Add `ensure_subarray_is_valid` replaces the old `sanity_check` function for subarray. Added validation to all relevant dimension label functions, which heretofore weren't validating subarray arguments in any way. --- TYPE: NO_HISTORY DESC: Simplify handling of unsupported C API `stride` arguments
- Loading branch information
1 parent
8de7d1c
commit 62098dc
Showing
7 changed files
with
109 additions
and
154 deletions.
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
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
Oops, something went wrong.