@@ -322,7 +322,8 @@ function init_cacheval(alg::GenericFactorization,
322322end
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)},
331332end
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