take and split method in sparse.dok_matrix do not work because of the local variable not being initialized correctly #2645
Labels
defect
A clear bug or issue that prevents SciPy from being installed or used as expected
scipy.sparse
The first code line in take and split method of sparse.doc_matrix is written as:
However, the doc_matrix should be initialized with the size of it, so it will raise the error as:
The text was updated successfully, but these errors were encountered: