Skip to content

Commit 9ad0677

Browse files
fix ambiguity
1 parent 6bff8ba commit 9ad0677

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/factorization.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,8 @@ function init_cacheval(alg::GenericFactorization,
323323
end
324324

325325
# Cholesky needs the posdef matrix, for GenericFactorization assume structure is needed
326-
function init_cacheval(alg::Union{GenericFactorization{typeof(cholesky)},
326+
function init_cacheval(alg::Union{GenericFactorization,
327+
GenericFactorization{typeof(cholesky)},
327328
GenericFactorization{typeof(cholesky!)}}, A, b, u, Pl, Pr,
328329
maxiters::Int, abstol, reltol, verbose::Bool,
329330
assumptions::OperatorAssumptions)

0 commit comments

Comments
 (0)