63
63
64
64
# `ReverseDiff.TrackedArray`
65
65
function DiffEqBase. solve_up (prob:: DiffEqBase.DEProblem ,
66
- sensealg:: Union {DiffEqBase. AbstractOverloadingSensitivityAlgorithm,
66
+ sensealg:: Union {
67
+ DiffEqBase. AbstractOverloadingSensitivityAlgorithm,
67
68
Nothing}, u0:: ReverseDiff.TrackedArray ,
68
69
p:: ReverseDiff.TrackedArray , args... ; kwargs... )
69
70
ReverseDiff. track (DiffEqBase. solve_up, prob, sensealg, u0, p, args... ; kwargs... )
70
71
end
71
72
72
73
function DiffEqBase. solve_up (prob:: DiffEqBase.DEProblem ,
73
- sensealg:: Union {DiffEqBase. AbstractOverloadingSensitivityAlgorithm,
74
+ sensealg:: Union {
75
+ DiffEqBase. AbstractOverloadingSensitivityAlgorithm,
74
76
Nothing}, u0, p:: ReverseDiff.TrackedArray ,
75
77
args... ; kwargs... )
76
78
ReverseDiff. track (DiffEqBase. solve_up, prob, sensealg, u0, p, args... ; kwargs... )
77
79
end
78
80
79
81
function DiffEqBase. solve_up (prob:: DiffEqBase.DEProblem ,
80
- sensealg:: Union {DiffEqBase. AbstractOverloadingSensitivityAlgorithm,
82
+ sensealg:: Union {
83
+ DiffEqBase. AbstractOverloadingSensitivityAlgorithm,
81
84
Nothing}, u0:: ReverseDiff.TrackedArray , p,
82
85
args... ; kwargs... )
83
86
ReverseDiff. track (DiffEqBase. solve_up, prob, sensealg, u0, p, args... ; kwargs... )
84
87
end
85
88
86
89
# `AbstractArray{<:ReverseDiff.TrackedReal}`
87
90
function DiffEqBase. solve_up (prob:: DiffEqBase.DEProblem ,
88
- sensealg:: Union {DiffEqBase. AbstractOverloadingSensitivityAlgorithm,
91
+ sensealg:: Union {
92
+ DiffEqBase. AbstractOverloadingSensitivityAlgorithm,
89
93
Nothing},
90
94
u0:: AbstractArray{<:ReverseDiff.TrackedReal} ,
91
95
p:: AbstractArray{<:ReverseDiff.TrackedReal} , args... ;
@@ -95,15 +99,17 @@ function DiffEqBase.solve_up(prob::DiffEqBase.DEProblem,
95
99
end
96
100
97
101
function DiffEqBase. solve_up (prob:: DiffEqBase.DEProblem ,
98
- sensealg:: Union {DiffEqBase. AbstractOverloadingSensitivityAlgorithm,
102
+ sensealg:: Union {
103
+ DiffEqBase. AbstractOverloadingSensitivityAlgorithm,
99
104
Nothing}, u0,
100
105
p:: AbstractArray{<:ReverseDiff.TrackedReal} ,
101
106
args... ; kwargs... )
102
107
DiffEqBase. solve_up (prob, sensealg, u0, reduce (vcat, p), args... ; kwargs... )
103
108
end
104
109
105
110
function DiffEqBase. solve_up (prob:: DiffEqBase.DEProblem ,
106
- sensealg:: Union {DiffEqBase. AbstractOverloadingSensitivityAlgorithm,
111
+ sensealg:: Union {
112
+ DiffEqBase. AbstractOverloadingSensitivityAlgorithm,
107
113
Nothing},
108
114
u0:: AbstractArray{<:ReverseDiff.TrackedReal} , p,
109
115
args... ; kwargs... )
0 commit comments