Skip to content

Commit 3c62fce

Browse files
nsajkovchuravy
authored andcommitted
revert 1
1 parent 557ae76 commit 3c62fce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/LinearAlgebraExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module LinearAlgebraExt
33
using KernelAbstractions: KernelAbstractions
44
using LinearAlgebra: Tridiagonal, Diagonal
55

6-
KernelAbstractions.get_backend(A::Diagonal) = KernelAbstractions.get_backend_recur(x -> x.diag, A)
7-
KernelAbstractions.get_backend(A::Tridiagonal) = KernelAbstractions.get_backend_recur(x -> x.d, A)
6+
KernelAbstractions.get_backend(A::Diagonal) = KernelAbstractions.get_backend(A.diag)
7+
KernelAbstractions.get_backend(A::Tridiagonal) = KernelAbstractions.get_backend(A.d)
88

99
end

0 commit comments

Comments
 (0)