Skip to content

Commit

Permalink
Update factorization.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Dec 20, 2023
1 parent 47cb402 commit ff28502
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/factorization.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ _ldiv!(x, A, b) = ldiv!(x, A, b)
_ldiv!(x, A, b::SVector) = (x .= A \ b)
_ldiv!(::SVector, A, b::SVector) = (A \ b)
_ldiv!(::SVector, A, b) = (A \ b)
_ldiv!(::StaticArraysCore.SVector,
A::Union{SparseArrays.CHOLMOD.Factor, LinearAlgebra.QR, LinearAlgebra.QRCompactWY, SparseArrays.SPQR.QRSparse},
b::AbstractVector) = (A \ b)
_ldiv!(::SVector, A::Union{SparseArrays.CHOLMOD.Factor, LinearAlgebra.QR, LinearAlgebra.QRCompactWY, SparseArrays.SPQR.QRSparse},
b::SVector) = (A \ b)

function _ldiv!(x::Vector, A::Factorization, b::Vector)
# workaround https://github.com/JuliaLang/julia/issues/43507
Expand Down

0 comments on commit ff28502

Please sign in to comment.