From 2000d97a72afa9f398df6454efc98152650f11e5 Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Fri, 27 Oct 2023 18:13:38 -0400 Subject: [PATCH] Make the function generic --- src/differentiation/jaches_products.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/differentiation/jaches_products.jl b/src/differentiation/jaches_products.jl index be3a9f7f..264f22da 100644 --- a/src/differentiation/jaches_products.jl +++ b/src/differentiation/jaches_products.jl @@ -1,6 +1,6 @@ struct DeivVecTag end -get_tag(::Array{Dual{T, V, N}}) where {T, V, N} = T +get_tag(::AbstractArray{Dual{T, V, N}}) where {T, V, N} = T get_tag(::Dual{T, V, N}) where {T, V, N} = T # J(f(x))*v