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
Describe the Bug Dok Slicing gives wrong output for slice indices = (slice(1, None, -1), slice(None, None, 1))
indices = (slice(1, None, -1), slice(None, None, 1))
To Reproduce
import numpy as np import sparse s_array = sparse.random((1,3), density=1/3, format='dok') d_array = s_array.todense() indices = (slice(1, None, -1), slice(None, None, 1)) print((s_array[indices].todense() == d_array[indices]).all()) # False
Expected behavior It should print True.
System
Pop Os 20.04
sparse
0.12
1.20.2
0.53.1
The text was updated successfully, but these errors were encountered:
This was fixed by #501.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the Bug
Dok Slicing gives wrong output for slice
indices = (slice(1, None, -1), slice(None, None, 1))
To Reproduce
Expected behavior
It should print True.
System
Pop Os 20.04
sparse
version (0.12
)1.20.2
)0.53.1
)The text was updated successfully, but these errors were encountered: