@@ -322,7 +322,8 @@ function init_cacheval(alg::GenericFactorization,
322
322
end
323
323
324
324
# 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)},
326
327
GenericFactorization{typeof (cholesky!)}}, A, b, u, Pl, Pr,
327
328
maxiters:: Int , abstol, reltol, verbose:: Bool ,
328
329
assumptions:: OperatorAssumptions )
@@ -331,7 +332,8 @@ function init_cacheval(alg::Union{GenericFactorization{typeof(cholesky)},
331
332
end
332
333
333
334
# Ambiguity handling dispatch
334
- function init_cacheval (alg:: Union {GenericFactorization{typeof (cholesky)},
335
+ function init_cacheval (alg:: Union {GenericFactorization,
336
+ GenericFactorization{typeof (cholesky)},
335
337
GenericFactorization{typeof (cholesky!)}},
336
338
A:: StridedMatrix{<:LinearAlgebra.BlasFloat} , b, u, Pl, Pr,
337
339
maxiters:: Int ,
0 commit comments