From b6956f042e626f5f884cc6aa2d582cbc33fd23c5 Mon Sep 17 00:00:00 2001 From: Tim Holy Date: Tue, 10 Dec 2024 09:11:31 -0600 Subject: [PATCH] Update src/pdmat.jl Co-authored-by: David Widmann --- src/pdmat.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pdmat.jl b/src/pdmat.jl index 5abc8f4..6d52086 100644 --- a/src/pdmat.jl +++ b/src/pdmat.jl @@ -36,7 +36,7 @@ end PDMat(mat::AbstractMatrix) = PDMat(mat, cholesky(mat)) function PDMat{T,S}(c::Cholesky) where {T,S} - c = Cholesky{T,S}(c) + c = convert(Cholesky{T,S}, c) return PDMat{T,S}(AbstractMatrix(c), c) end function PDMat{T}(c::Cholesky) where T