Skip to content

Commit 1719342

Browse files
Merge pull request #1114 from jClugstor/patch-2
Import `reduce_tup` to ForwardDiffExt
2 parents 68034ab + 72a439d commit 1719342

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/SciMLBaseForwardDiffExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import SciMLBase:
77
wrapfun_oop, wrapfun_iip, isdualtype, value, DualEltypeChecker,
88
AbstractTimeseriesSolution, NonlinearProblem, NonlinearLeastSquaresProblem,
99
ODEProblem, SDEProblem, RODEProblem, DDEProblem, PDEProblem, DAEProblem,
10-
RecursiveArrayTools, totallength, sse, anyeltypedual
10+
RecursiveArrayTools, totallength, sse, anyeltypedual, reduce_tup
1111

1212
eltypedual(x) = eltype(x) <: ForwardDiff.Dual
1313
isdualtype(::Type{<:ForwardDiff.Dual}) = true
@@ -407,4 +407,4 @@ function SciMLBase.totallength(x::ForwardDiff.Dual)
407407
sum(SciMLBase.totallength, ForwardDiff.partials(x))
408408
end
409409

410-
end
410+
end

0 commit comments

Comments
 (0)