We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xp.nonzero is documented in the spec to require an exception for 0d arrays:
xp.nonzero
x (array) – input array. Must have a positive rank. If x is zero-dimensional, the function must raise an exception.
Yet the code exercises xp.nonzero for zero-dimensional arrays and expects the function to returns a tuple of size 1:
array-api-tests/array_api_tests/test_searching_functions.py
Lines 93 to 98 in f82c7bc
This discrepancy should be fixed, or the spec modified.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
xp.nonzero
is documented in the spec to require an exception for 0d arrays:Yet the code exercises
xp.nonzero
for zero-dimensional arrays and expects the function to returns a tuple of size 1:array-api-tests/array_api_tests/test_searching_functions.py
Lines 93 to 98 in f82c7bc
This discrepancy should be fixed, or the spec modified.
The text was updated successfully, but these errors were encountered: