Skip to content

Commit c154079

Browse files
committed
also matvecmul
1 parent 6cd89c8 commit c154079

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cublas/linalg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ function LinearAlgebra.generic_matvecmul!(Y::StridedCuVector, tA::AbstractChar,
273273
end
274274

275275
if nA == 0
276-
return rmul!(Y, 0)
276+
return rmul!(Y, beta)
277277
end
278278

279279
T = eltype(Y)

0 commit comments

Comments
 (0)