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 eb1da3d commit 24e618bCopy full SHA for 24e618b
src/factorization.jl
@@ -12,6 +12,8 @@ _ldiv!(x, A, b) = ldiv!(x, A, b)
12
13
function _ldiv!(x::Vector, A::Factorization, b::Vector)
14
# workaround https://github.com/JuliaLang/julia/issues/43507
15
+ # Fallback if working with non-square matrices
16
+ length(x) != length(b) && return ldiv!(x, A, b)
17
copyto!(x, b)
18
ldiv!(A, x)
19
end
0 commit comments