forked from scipy/scipy
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: sparse: ensure index dtype is large enough to pass all parameter…
…s to sparsetools The index dtype size selection for CSR, CSC, BSR did not take into account that the matrix size is also passed on to sparsetools, as integers of the index dtype size. Fix this by changing the dtype selection to account for also integer parameters passed on to sparsetools. Because the integer type is never downgraded, and the array shape parameters do not change (outside .reshape which is unimplemented for these types), it is sufficient to ensure this only in __init__
- Loading branch information
Showing
4 changed files
with
117 additions
and
7 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