Skip to content

Commit 4536834

Browse files
committed
Reformat
1 parent 5dde5db commit 4536834

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/cholesky.jl

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ struct CholeskyRFP{T<:BlasFloat} <: Factorization{T}
44
uplo::Char
55
end
66

7-
LinearAlgebra.cholesky!(A::HermitianRFP{T}) where {T<:BlasFloat} =
8-
CholeskyRFP(LAPACK_RFP.pftrf!(A.transr, A.uplo, A.data), A.transr, A.uplo)
7+
function LinearAlgebra.cholesky!(A::HermitianRFP{T}) where {T<:BlasFloat}
8+
return CholeskyRFP(
9+
LAPACK_RFP.pftrf!(A.transr, A.uplo, A.data),
10+
A.transr,
11+
A.uplo,
12+
)
13+
end
914
LinearAlgebra.cholesky(A::HermitianRFP{T}) where {T<:BlasFloat} = cholesky!(copy(A))
1015
LinearAlgebra.factorize(A::HermitianRFP) = cholesky(A)
1116

0 commit comments

Comments
 (0)