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 45a17ae commit c7478a3Copy full SHA for c7478a3
src/chol.jl
@@ -5,7 +5,8 @@ CholType{T,S<:AbstractMatrix} = Cholesky{T,S}
5
chol_lower(a::CholType) = a.uplo === 'L' ? a.L : a.U'
6
chol_upper(a::CholType) = a.uplo === 'U' ? a.U : a.L'
7
8
-chol_lower(a::Matrix) = chol_lower(cholesky(a))
+# For a dense Matrix, the following allows us to avoid the Adjoint wrapper:
9
+chol_lower(a::Matrix) = cholesky(Hermitian(a, :L)).L
10
11
if HAVE_CHOLMOD
12
CholTypeSparse{T} = SuiteSparse.CHOLMOD.Factor{T}
0 commit comments