Skip to content

Commit 11132b1

Browse files
authored
unalias in _banded_gbmv (#352)
1 parent 60e3201 commit 11132b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generic/matmul.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ banded_gbmv!(tA, α, A, x, β, y) =
3232
if length(x) == 0
3333
_fill_lmul!(β, y)
3434
else
35-
xc = x y ? copy(x) : x
35+
xc = Base.unalias(y, x)
3636
banded_gbmv!(tA, α, A, xc, β, y)
3737
end
3838
return y

0 commit comments

Comments
 (0)