We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 98700f2 + 672a018 commit 72c05e6Copy full SHA for 72c05e6
Project.toml
@@ -62,7 +62,7 @@ LinearSolvePardisoExt = "Pardiso"
62
LinearSolveRecursiveArrayToolsExt = "RecursiveArrayTools"
63
64
[compat]
65
-AllocCheck = "0.1"
+AllocCheck = "0.2"
66
Aqua = "0.8"
67
ArrayInterface = "7.7"
68
BandedMatrices = "1.5"
@@ -115,7 +115,7 @@ StaticArrays = "1.5"
115
StaticArraysCore = "1.4.2"
116
Test = "1"
117
UnPack = "1"
118
-Zygote = "0.6.69"
+Zygote = "0.7"
119
julia = "1.10"
120
121
[extras]
src/factorization.jl
@@ -213,12 +213,19 @@ function init_cacheval(alg::QRFactorization, A, b, u, Pl, Pr,
213
ArrayInterface.qr_instance(convert(AbstractMatrix, A), alg.pivot)
214
end
215
216
-function init_cacheval(alg::QRFactorization, A::Symmetric, b, u, Pl, Pr,
+function init_cacheval(alg::QRFactorization, A::Symmetric{<:Number, <:Array}, b, u, Pl, Pr,
217
maxiters::Int, abstol, reltol, verbose::Bool,
218
assumptions::OperatorAssumptions)
219
return qr(convert(AbstractMatrix, A), alg.pivot)
220
221
222
+function init_cacheval(
223
+ alg::QRFactorization, A::Symmetric{<:Number, <:SparseMatrixCSC}, b, u, Pl, Pr,
224
+ maxiters::Int, abstol, reltol, verbose::Bool,
225
+ assumptions::OperatorAssumptions)
226
+ return nothing
227
+end
228
+
229
const PREALLOCATED_QR_ColumnNorm = ArrayInterface.qr_instance(rand(1, 1), ColumnNorm())
230
231
function init_cacheval(alg::QRFactorization{ColumnNorm}, A::Matrix{Float64}, b, u, Pl, Pr,
0 commit comments