We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76afd8e commit 809287fCopy full SHA for 809287f
tests/test_sparse_vector.py
@@ -56,7 +56,7 @@ def test_dok_array(self):
56
assert vec.indices() == [0, 2, 4]
57
58
def test_csr_array(self):
59
- arr = csr_array(np.array([1, 0, 2, 0, 3, 0]))
+ arr = csr_array(np.array([[1, 0, 2, 0, 3, 0]]))
60
vec = SparseVector(arr)
61
assert vec.to_list() == [1, 0, 2, 0, 3, 0]
62
0 commit comments