@@ -64,7 +64,15 @@ const PREALLOCATED_UMFPACK = SparseArrays.UMFPACK.UmfpackLU(SparseMatrixCSC(0, 0
64
64
Int[], Float64[]))
65
65
66
66
function 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,
68
76
Pl, Pr,
69
77
maxiters:: Int , abstol, reltol,
70
78
verbose:: Bool , assumptions:: OperatorAssumptions )
@@ -80,23 +88,23 @@ function LinearSolve.init_cacheval(
80
88
end
81
89
82
90
function LinearSolve. init_cacheval (
83
- alg:: Union{ LUFactorization, GenericLUFactorization} , A:: AbstractSparseArray{Float64, Int64} , b, u,
91
+ alg:: LUFactorization , A:: AbstractSparseArray{Float64, Int64} , b, u,
84
92
Pl, Pr,
85
93
maxiters:: Int , abstol, reltol,
86
94
verbose:: Bool , assumptions:: OperatorAssumptions )
87
95
PREALLOCATED_UMFPACK
88
96
end
89
97
90
98
function LinearSolve. init_cacheval (
91
- alg:: Union{ LUFactorization, GenericLUFactorization} , A:: AbstractSparseArray{T, Int64} , b, u,
99
+ alg:: LUFactorization , A:: AbstractSparseArray{T, Int64} , b, u,
92
100
Pl, Pr,
93
101
maxiters:: Int , abstol, reltol,
94
102
verbose:: Bool , assumptions:: OperatorAssumptions ) where {T<: BLASELTYPES }
95
103
SparseArrays. UMFPACK. UmfpackLU (SparseMatrixCSC {T, Int64} (zero (Int64), zero (Int64), [Int64 (1 )], Int64[], T[]))
96
104
end
97
105
98
106
function LinearSolve. init_cacheval (
99
- alg:: Union{ LUFactorization, GenericLUFactorization} , A:: AbstractSparseArray{T, Int32} , b, u,
107
+ alg:: LUFactorization , A:: AbstractSparseArray{T, Int32} , b, u,
100
108
Pl, Pr,
101
109
maxiters:: Int , abstol, reltol,
102
110
verbose:: Bool , assumptions:: OperatorAssumptions ) where {T<: BLASELTYPES }
0 commit comments