diff --git a/test/pdmtypes.jl b/test/pdmtypes.jl index 03941db..62324a2 100644 --- a/test/pdmtypes.jl +++ b/test/pdmtypes.jl @@ -185,7 +185,7 @@ using Test M = @inferred AbstractPDMat(Diagonal(A)) @test M isa PDiagMat @test Matrix(M) ≈ Diagonal(A) - Mat32 = Matrix{Float32}(M) + Mat32 = @inferred Matrix{Float32}(M) @test eltype(Mat32) == Float32 @test Mat32 ≈ Float32.(Diagonal(A))