Skip to content

Commit 9915235

Browse files
authored
5-arg mul! for matrix*vector (#131)
1 parent 579f116 commit 9915235

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mul.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ macro layoutmul(Typ)
190190
ret = quote
191191
LinearAlgebra.mul!(dest::AbstractVector, A::$Typ, b::AbstractVector) =
192192
ArrayLayouts.mul!(dest,A,b)
193+
LinearAlgebra.mul!(dest::AbstractVector, A::$Typ, b::AbstractVector, α::Number, β::Number) =
194+
ArrayLayouts.mul!(dest,A,b,α,β)
193195

194196
LinearAlgebra.mul!(dest::AbstractMatrix, A::$Typ, B::AbstractMatrix) =
195197
ArrayLayouts.mul!(dest,A,B)

0 commit comments

Comments
 (0)