Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The test for parameters in axisswap actually is a bit convoluted, but in essence it checks both whether ANY of the 'axis' and 'order' parameters are given, and whether BOTH are given. Hence, the error message "order and axis parameters are mutually exclusive" is misleading in the case where none of the two is given. The updated message: "must provide EITHER 'order' OR 'axis' parameter" is intended to cover both cases in an informative way
- Loading branch information