Skip to content

Commit ea0b9d9

Browse files
committed
test: fix logic
1 parent deadcce commit ea0b9d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittest/python/decompositions/sparse/test_SimplicialLLT.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
B_sparse = A.dot(X_sparse)
3737
B_sparse = B_sparse.tocsc(True)
3838

39-
if B_sparse.has_sorted_indices:
39+
if not B_sparse.has_sorted_indices:
4040
B_sparse.sort_indices()
4141

4242
X_est = llt.solve(B_sparse)

0 commit comments

Comments
 (0)