Skip to content

Commit 787a6a4

Browse files
committed
Added test for dumb Cholesky fix
1 parent 5008341 commit 787a6a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/runtests.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,10 @@ end
558558
@test all(zero(cmat) * ca .== zero(ca))
559559
@test typeof(zrv0) === typeof(rv0)
560560
@test typeof(zrv0.r[1]) == typeof(rv0[1])
561+
562+
# Issue #100
563+
chol = cholesky(cmat+I)
564+
@test convert(Cholesky{Float32, Matrix{Float32}}, chol).factors isa Matrix{Float32}
561565
end
562566

563567
@testset "Autodiff" begin include("autodiff_tests.jl") end

0 commit comments

Comments
 (0)