You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/array_partition.jl
+7-5Lines changed: 7 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -435,12 +435,14 @@ function LinearAlgebra.ldiv!(A::Factorization, b::ArrayPartition)
435
435
(x =ldiv!(A, Array(b)); copyto!(b, x))
436
436
end
437
437
438
-
function LinearAlgebra.ldiv!(A::LinearAlgebra.SVD{T, Tr, M}, b::ArrayPartition) where {Tr, T, M<:AbstractArray{T}}
439
-
(x =ldiv!(A, Array(b)); copyto!(b, x))
440
-
end
438
+
@staticifVERSION>=v"1.9"
439
+
function LinearAlgebra.ldiv!(A::LinearAlgebra.SVD{T, Tr, M}, b::ArrayPartition) where {Tr, T, M<:AbstractArray{T}}
440
+
(x =ldiv!(A, Array(b)); copyto!(b, x))
441
+
end
441
442
442
-
function LinearAlgebra.ldiv!(A::LinearAlgebra.QRCompactWY{T, M, C}, b::ArrayPartition) where {T<:Union{Float32, Float64, ComplexF64, ComplexF32}, M<:AbstractMatrix{T}, C<:AbstractMatrix{T}}
443
-
(x =ldiv!(A, Array(b)); copyto!(b, x))
443
+
function LinearAlgebra.ldiv!(A::LinearAlgebra.QRCompactWY{T, M, C}, b::ArrayPartition) where {T<:Union{Float32, Float64, ComplexF64, ComplexF32}, M<:AbstractMatrix{T}, C<:AbstractMatrix{T}}
444
+
(x =ldiv!(A, Array(b)); copyto!(b, x))
445
+
end
444
446
end
445
447
446
448
function LinearAlgebra.ldiv!(A::LU, b::ArrayPartition)
0 commit comments