diff --git a/ext/SciMLBaseForwardDiffExt.jl b/ext/SciMLBaseForwardDiffExt.jl index dfbbc438e..5a03c3b06 100644 --- a/ext/SciMLBaseForwardDiffExt.jl +++ b/ext/SciMLBaseForwardDiffExt.jl @@ -7,7 +7,7 @@ import SciMLBase: wrapfun_oop, wrapfun_iip, isdualtype, value, DualEltypeChecker, AbstractTimeseriesSolution, NonlinearProblem, NonlinearLeastSquaresProblem, ODEProblem, SDEProblem, RODEProblem, DDEProblem, PDEProblem, DAEProblem, - RecursiveArrayTools, totallength, sse, anyeltypedual + RecursiveArrayTools, totallength, sse, anyeltypedual, reduce_tup eltypedual(x) = eltype(x) <: ForwardDiff.Dual isdualtype(::Type{<:ForwardDiff.Dual}) = true @@ -407,4 +407,4 @@ function SciMLBase.totallength(x::ForwardDiff.Dual) sum(SciMLBase.totallength, ForwardDiff.partials(x)) end -end \ No newline at end of file +end