@@ -64,7 +64,15 @@ const PREALLOCATED_UMFPACK = SparseArrays.UMFPACK.UmfpackLU(SparseMatrixCSC(0, 0
6464 Int[], Float64[]))
6565
6666function LinearSolve. init_cacheval (
67- alg:: Union{LUFactorization, GenericLUFactorization} , A:: AbstractSparseArray{<:Number, <:Integer} , b, u,
67+ alg:: LUFactorization , A:: AbstractSparseArray{<:Number, <:Integer} , b, u,
68+ Pl, Pr,
69+ maxiters:: Int , abstol, reltol,
70+ verbose:: Bool , assumptions:: OperatorAssumptions )
71+ nothing
72+ end
73+
74+ function LinearSolve. init_cacheval (
75+ alg:: GenericLUFactorization , A:: AbstractSparseArray{<:Number, <:Integer} , b, u,
6876 Pl, Pr,
6977 maxiters:: Int , abstol, reltol,
7078 verbose:: Bool , assumptions:: OperatorAssumptions )
@@ -80,23 +88,23 @@ function LinearSolve.init_cacheval(
8088end
8189
8290function LinearSolve. init_cacheval (
83- alg:: Union{ LUFactorization, GenericLUFactorization} , A:: AbstractSparseArray{Float64, Int64} , b, u,
91+ alg:: LUFactorization , A:: AbstractSparseArray{Float64, Int64} , b, u,
8492 Pl, Pr,
8593 maxiters:: Int , abstol, reltol,
8694 verbose:: Bool , assumptions:: OperatorAssumptions )
8795 PREALLOCATED_UMFPACK
8896end
8997
9098function LinearSolve. init_cacheval (
91- alg:: Union{ LUFactorization, GenericLUFactorization} , A:: AbstractSparseArray{T, Int64} , b, u,
99+ alg:: LUFactorization , A:: AbstractSparseArray{T, Int64} , b, u,
92100 Pl, Pr,
93101 maxiters:: Int , abstol, reltol,
94102 verbose:: Bool , assumptions:: OperatorAssumptions ) where {T<: BLASELTYPES }
95103 SparseArrays. UMFPACK. UmfpackLU (SparseMatrixCSC {T, Int64} (zero (Int64), zero (Int64), [Int64 (1 )], Int64[], T[]))
96104end
97105
98106function LinearSolve. init_cacheval (
99- alg:: Union{ LUFactorization, GenericLUFactorization} , A:: AbstractSparseArray{T, Int32} , b, u,
107+ alg:: LUFactorization , A:: AbstractSparseArray{T, Int32} , b, u,
100108 Pl, Pr,
101109 maxiters:: Int , abstol, reltol,
102110 verbose:: Bool , assumptions:: OperatorAssumptions ) where {T<: BLASELTYPES }
0 commit comments