We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 557ae76 commit 3c62fceCopy full SHA for 3c62fce
ext/LinearAlgebraExt.jl
@@ -3,7 +3,7 @@ module LinearAlgebraExt
3
using KernelAbstractions: KernelAbstractions
4
using LinearAlgebra: Tridiagonal, Diagonal
5
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)
+KernelAbstractions.get_backend(A::Diagonal) = KernelAbstractions.get_backend(A.diag)
+KernelAbstractions.get_backend(A::Tridiagonal) = KernelAbstractions.get_backend(A.d)
8
9
end
0 commit comments