Skip to content

Commit 2267c4d

Browse files
pre-v1.9 version
1 parent 8abd882 commit 2267c4d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/factorization.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ end
1010
function _ldiv!(x::AbstractVector, A::SparseArrays.SPQR.QRSparse, b::AbstractVector)
1111
x .= A \ b
1212
end
13+
else
14+
function _ldiv!(x::AbstractVector, A::SuiteSparse.SPQR.QRSparse, b::AbstractVector)
15+
x .= A \ b
16+
end
1317
end
18+
1419
function SciMLBase.solve(cache::LinearCache, alg::AbstractFactorization; kwargs...)
1520
if cache.isfresh
1621
fact = do_factorization(alg, cache.A, cache.b, cache.u)

0 commit comments

Comments
 (0)