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 a797b42 commit 8c5419bCopy full SHA for 8c5419b
src/host/linalg.jl
@@ -164,6 +164,7 @@ if isdefined(LinearAlgebra, :copytrito!)
164
else
165
(m1 < m || n1 < n) && throw(DimensionMismatch("B of size ($m1,$n1) should have at least size ($m,$n)"))
166
end
167
+ length(A) == 0 && return B
168
@kernel function U_kernel!(_A, _B)
169
I = @index(Global, Cartesian)
170
i, j = Tuple(I)
@@ -178,6 +179,7 @@ if isdefined(LinearAlgebra, :copytrito!)
178
179
180
181
182
183
@kernel function L_kernel!(_A, _B)
184
185
0 commit comments