Skip to content

Commit 58cda91

Browse files
committed
test/scipy: fix random generator for old scipy versions
1 parent ea0b9d9 commit 58cda91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittest/python/decompositions/sparse/test_SimplicialLLT.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
llt.factorize(A)
3333
permutation = llt.permutationP()
3434

35-
X_sparse = scipy.sparse.random(dim, 10, random_state=rng)
35+
X_sparse = scipy.sparse.random(dim, 10)
3636
B_sparse = A.dot(X_sparse)
3737
B_sparse = B_sparse.tocsc(True)
3838

0 commit comments

Comments
 (0)