Skip to content

Commit 49f8c3b

Browse files
fix ambiguities
1 parent 2267c4d commit 49f8c3b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/factorization.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ end
1010
function _ldiv!(x::AbstractVector, A::SparseArrays.SPQR.QRSparse, b::AbstractVector)
1111
x .= A \ b
1212
end
13+
function _ldiv!(x::Vector, A::SparseArrays.SPQR.QRSparse, b::Vector)
14+
x .= A \ b
15+
end
1316
else
1417
function _ldiv!(x::AbstractVector, A::SuiteSparse.SPQR.QRSparse, b::AbstractVector)
1518
x .= A \ b
1619
end
20+
function _ldiv!(x::Vector, A::SuiteSparse.SPQR.QRSparse, b::Vector)
21+
x .= A \ b
22+
end
1723
end
1824

1925
function SciMLBase.solve(cache::LinearCache, alg::AbstractFactorization; kwargs...)

0 commit comments

Comments
 (0)