@@ -27,13 +27,6 @@ function LinearSolve.init_cacheval(alg::RFLUFactorization,
2727 nothing , nothing
2828end
2929
30- function LinearSolve. init_cacheval (
31- alg:: QRFactorization , A:: Symmetric{<:Number, <:SparseMatrixCSC} , b, u, Pl, Pr,
32- maxiters:: Int , abstol, reltol, verbose:: Bool ,
33- assumptions:: OperatorAssumptions )
34- return nothing
35- end
36-
3730function LinearSolve. handle_sparsematrixcsc_lu (A:: AbstractSparseMatrixCSC )
3831 lu (SparseMatrixCSC (size (A)... , getcolptr (A), rowvals (A), nonzeros (A)),
3932 check = false )
263256
264257# SPQR Handling
265258function LinearSolve. init_cacheval (
266- alg:: Union{ QRFactorization} , A:: AbstractSparseArray{<:Number, <:Integer} , b, u,
259+ alg:: QRFactorization , A:: AbstractSparseArray{<:Number, <:Integer} , b, u,
267260 Pl, Pr,
268261 maxiters:: Int , abstol, reltol,
269262 verbose:: Bool , assumptions:: OperatorAssumptions )
@@ -276,6 +269,13 @@ function init_cacheval(alg::QRFactorization, A::SparseMatrixCSC{Float64, Int}, b
276269 ArrayInterface. qr_instance (convert (AbstractMatrix, A), alg. pivot)
277270end
278271
272+ function LinearSolve. init_cacheval (
273+ alg:: QRFactorization , A:: Symmetric{<:Number, <:SparseMatrixCSC} , b, u, Pl, Pr,
274+ maxiters:: Int , abstol, reltol, verbose:: Bool ,
275+ assumptions:: OperatorAssumptions )
276+ return nothing
277+ end
278+
279279LinearSolve. PrecompileTools. @compile_workload begin
280280 A = sprand (4 , 4 , 0.3 ) + I
281281 b = rand (4 )
0 commit comments