Skip to content

Commit 979f4d8

Browse files
authored
Merge pull request #16968 from Sacha0/test14816
Add targeted test for issue #14816
2 parents 1a0a0b7 + b9d30ab commit 979f4d8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/sparsedir/sparse.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,3 +1409,10 @@ end
14091409
@test !issparse([rand(10,10) rand(10,10)])
14101410
@test !issparse([rand(10,10); rand(10,10)])
14111411
@test !issparse([rand(10,10) rand(10,10); rand(10,10) rand(10,10)])
1412+
1413+
# issue #14816
1414+
let m = 5
1415+
intmat = fill(1, m, m)
1416+
ltintmat = LowerTriangular(rand(1:5, m, m))
1417+
@test isapprox(At_ldiv_B(ltintmat, sparse(intmat)), At_ldiv_B(ltintmat, intmat))
1418+
end

0 commit comments

Comments
 (0)