Skip to content

Commit

Permalink
revered order of data/indices in dot
Browse files Browse the repository at this point in the history
  • Loading branch information
EuGig committed Dec 3, 2023
1 parent 7c0c962 commit 8f558d7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sparse/_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,11 @@ def _dot_csr_csr(
sums[temp] = 0

indptr[i + 1] = nnz
return data, indices, indptr

ordered_data = data[::-1]
ordered_indices = indices[::-1]

return ordered_data, ordered_indices, indptr

return _dot_csr_csr

Expand Down

0 comments on commit 8f558d7

Please sign in to comment.