We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 290c82f commit faec56dCopy full SHA for faec56d
src/factorization.jl
@@ -176,10 +176,18 @@ end
176
177
const PREALLOCATED_QR = ArrayInterface.qr_instance(rand(1, 1))
178
179
-function init_cacheval(alg::QRFactorization{NoPivot}, A::Matrix{Float64}, b, u, Pl, Pr,
180
- maxiters::Int, abstol, reltol, verbose::Bool,
181
- assumptions::OperatorAssumptions)
182
- PREALLOCATED_QR
+@static if VERSION < v"1.7beta"
+ function init_cacheval(alg::QRFactorization{Val{false}}, A::Matrix{Float64}, b, u, Pl, Pr,
+ maxiters::Int, abstol, reltol, verbose::Bool,
+ assumptions::OperatorAssumptions)
183
+ PREALLOCATED_QR
184
+ end
185
+else
186
+ function init_cacheval(alg::QRFactorization{NoPivot}, A::Matrix{Float64}, b, u, Pl, Pr,
187
188
189
190
191
end
192
193
function init_cacheval(alg::QRFactorization, A::AbstractSciMLOperator, b, u, Pl, Pr,
0 commit comments