Skip to content

Commit 11ce18a

Browse files
Merge pull request #267 from avik-pal/ap/gpu_tag
Make the `get_tag` function generic
2 parents 7b271ed + 2000d97 commit 11ce18a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/differentiation/jaches_products.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
struct DeivVecTag end
22

3-
get_tag(::Array{Dual{T, V, N}}) where {T, V, N} = T
3+
get_tag(::AbstractArray{Dual{T, V, N}}) where {T, V, N} = T
44
get_tag(::Dual{T, V, N}) where {T, V, N} = T
55

66
# J(f(x))*v

0 commit comments

Comments
 (0)