Skip to content

Commit b9d30ab

Browse files
committed
Add targeted test for issue JuliaLang#14816.
1 parent 7ad5eee commit b9d30ab

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
@@ -1385,3 +1385,10 @@ end
13851385
@test !issparse([rand(10,10) rand(10,10)])
13861386
@test !issparse([rand(10,10); rand(10,10)])
13871387
@test !issparse([rand(10,10) rand(10,10); rand(10,10) rand(10,10)])
1388+
1389+
# issue #14816
1390+
let m = 5
1391+
intmat = fill(1, m, m)
1392+
ltintmat = LowerTriangular(rand(1:5, m, m))
1393+
@test isapprox(At_ldiv_B(ltintmat, sparse(intmat)), At_ldiv_B(ltintmat, intmat))
1394+
end

0 commit comments

Comments
 (0)