Skip to content

Commit f7880a3

Browse files
committed
Fix typo missing to method redefinition.
1 parent 4703923 commit f7880a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/device/quirks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ end
9494

9595
# LinearAlgebra
9696
@static if VERSION >= v"1.8-"
97-
function Base.setindex!(D::LinearAlgebra.Diagonal, v, i::Int, j::Int)
97+
@device_override function Base.setindex!(D::LinearAlgebra.Diagonal, v, i::Int, j::Int)
9898
@boundscheck checkbounds(D, i, j)
9999
if i == j
100100
@inbounds D.diag[i] = v

0 commit comments

Comments
 (0)