-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CS matrix prune method should copy data from large unpruned arrays (#…
…6623) * BUG: CS matrix prune should copy data from larger arrays Pruning resizes the "data" and "indices" arrays after explict zeros have been removed from a sparse matrix. However, this is implemented using slicing, which just returns a view of the original array. If the original array is relatively large, a new array should be used instead of a view, allowing the original to be garbage collected. * Add self to list of contributors
- Loading branch information
1 parent
4b77de5
commit 9cec221
Showing
4 changed files
with
19 additions
and
10 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