Skip to content

Commit 7cd2b00

Browse files
bump
1 parent ff76546 commit 7cd2b00

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/factorization.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,8 @@ function init_cacheval(alg::GenericFactorization,
322322
end
323323

324324
# Cholesky needs the posdef matrix, for GenericFactorization assume structure is needed
325-
function init_cacheval(alg::Union{GenericFactorization{typeof(cholesky)},
325+
function init_cacheval(alg::Union{GenericFactorization,
326+
GenericFactorization{typeof(cholesky)},
326327
GenericFactorization{typeof(cholesky!)}}, A, b, u, Pl, Pr,
327328
maxiters::Int, abstol, reltol, verbose::Bool,
328329
assumptions::OperatorAssumptions)
@@ -331,7 +332,8 @@ function init_cacheval(alg::Union{GenericFactorization{typeof(cholesky)},
331332
end
332333

333334
# Ambiguity handling dispatch
334-
function init_cacheval(alg::Union{GenericFactorization{typeof(cholesky)},
335+
function init_cacheval(alg::Union{GenericFactorization,
336+
GenericFactorization{typeof(cholesky)},
335337
GenericFactorization{typeof(cholesky!)}},
336338
A::StridedMatrix{<:LinearAlgebra.BlasFloat}, b, u, Pl, Pr,
337339
maxiters::Int,

0 commit comments

Comments
 (0)