Skip to content

Commit 2000d97

Browse files
committed
Make the function generic
1 parent 7b271ed commit 2000d97

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)