Skip to content

Commit a8a628d

Browse files
committed
Fix method ambiguity
1 parent ccadb9e commit a8a628d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

DifferentiationInterface/ext/DifferentiationInterfaceGPUArraysCoreExt/DifferentiationInterfaceGPUArraysCoreExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ function DI.multibasis(a::AbstractGPUArray{T}, inds) where {T}
1919
end
2020

2121
function DI.arroftup_to_tupofarr(
22-
tx::AbstractArray{NTuple{B, T}}, x::AbstractGPUArray{T}
23-
) where {B, T}
22+
tx::AbstractArray{<:NTuple{B, <:Number}}, x::AbstractGPUArray{<:Number}
23+
) where {B}
2424
return ntuple(b -> adapt(typeof(x), getindex.(tx, b)), Val(B))
2525
end
2626

0 commit comments

Comments
 (0)