Skip to content

Commit

Permalink
Fix typo missing to method redefinition.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Feb 14, 2022
1 parent 4703923 commit f7880a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/device/quirks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ end

# LinearAlgebra
@static if VERSION >= v"1.8-"
function Base.setindex!(D::LinearAlgebra.Diagonal, v, i::Int, j::Int)
@device_override function Base.setindex!(D::LinearAlgebra.Diagonal, v, i::Int, j::Int)
@boundscheck checkbounds(D, i, j)
if i == j
@inbounds D.diag[i] = v
Expand Down

0 comments on commit f7880a3

Please sign in to comment.