We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6678dd3 commit a0acc49Copy full SHA for a0acc49
test/pdmtypes.jl
@@ -304,4 +304,12 @@ using Test
304
@test_broken C - B isa Diagonal{Float64, Vector{Float64}}
305
@test C - B ≈ Matrix(C) - Matrix(B)
306
end
307
+
308
+ # https://github.com/JuliaStats/PDMats.jl/pull/207
309
+ @testset "PDMat from SymTridiagonal" begin
310
+ S = SymTridiagonal(fill(4, 4), fill(1, 3))
311
+ M = @inferred(PDMat(S))
312
+ @test M isa PDMat{Int,<:SymTridiagonal,<:Cholesky}
313
+ @test M == S
314
+ end
315
0 commit comments