Skip to content

Commit 7baa8e9

Browse files
abstract overloading function
1 parent 8bc679b commit 7baa8e9

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DiffEqBase"
22
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
33
authors = ["Chris Rackauckas <[email protected]>"]
4-
version = "6.115.0"
4+
version = "6.115.1"
55

66
[deps]
77
ArrayInterfaceCore = "30b0a656-2188-435a-8636-2ec0e6a096e2"
@@ -69,7 +69,7 @@ PreallocationTools = "0.4"
6969
RecursiveArrayTools = "2"
7070
Reexport = "1.0"
7171
Requires = "1.0"
72-
SciMLBase = "1.73"
72+
SciMLBase = "1.84"
7373
Setfield = "0.8, 1"
7474
Static = "0.7, 0.8"
7575
StaticArrays = "1.0"

ext/DiffEqBaseReverseDiffExt.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,23 +64,23 @@ end
6464
# `ReverseDiff.TrackedArray`
6565
function DiffEqBase.solve_up(prob::DiffEqBase.DEProblem,
6666
sensealg::Union{
67-
DiffEqBase.AbstractOverloadingSensitivityAlgorithm,
67+
SciMLBase.AbstractOverloadingSensitivityAlgorithm,
6868
Nothing}, u0::ReverseDiff.TrackedArray,
6969
p::ReverseDiff.TrackedArray, args...; kwargs...)
7070
ReverseDiff.track(DiffEqBase.solve_up, prob, sensealg, u0, p, args...; kwargs...)
7171
end
7272

7373
function DiffEqBase.solve_up(prob::DiffEqBase.DEProblem,
7474
sensealg::Union{
75-
DiffEqBase.AbstractOverloadingSensitivityAlgorithm,
75+
SciMLBase.AbstractOverloadingSensitivityAlgorithm,
7676
Nothing}, u0, p::ReverseDiff.TrackedArray,
7777
args...; kwargs...)
7878
ReverseDiff.track(DiffEqBase.solve_up, prob, sensealg, u0, p, args...; kwargs...)
7979
end
8080

8181
function DiffEqBase.solve_up(prob::DiffEqBase.DEProblem,
8282
sensealg::Union{
83-
DiffEqBase.AbstractOverloadingSensitivityAlgorithm,
83+
SciMLBase.AbstractOverloadingSensitivityAlgorithm,
8484
Nothing}, u0::ReverseDiff.TrackedArray, p,
8585
args...; kwargs...)
8686
ReverseDiff.track(DiffEqBase.solve_up, prob, sensealg, u0, p, args...; kwargs...)
@@ -89,7 +89,7 @@ end
8989
# `AbstractArray{<:ReverseDiff.TrackedReal}`
9090
function DiffEqBase.solve_up(prob::DiffEqBase.DEProblem,
9191
sensealg::Union{
92-
DiffEqBase.AbstractOverloadingSensitivityAlgorithm,
92+
SciMLBase.AbstractOverloadingSensitivityAlgorithm,
9393
Nothing},
9494
u0::AbstractArray{<:ReverseDiff.TrackedReal},
9595
p::AbstractArray{<:ReverseDiff.TrackedReal}, args...;
@@ -100,7 +100,7 @@ end
100100

101101
function DiffEqBase.solve_up(prob::DiffEqBase.DEProblem,
102102
sensealg::Union{
103-
DiffEqBase.AbstractOverloadingSensitivityAlgorithm,
103+
SciMLBase.AbstractOverloadingSensitivityAlgorithm,
104104
Nothing}, u0,
105105
p::AbstractArray{<:ReverseDiff.TrackedReal},
106106
args...; kwargs...)
@@ -109,7 +109,7 @@ end
109109

110110
function DiffEqBase.solve_up(prob::DiffEqBase.DEProblem,
111111
sensealg::Union{
112-
DiffEqBase.AbstractOverloadingSensitivityAlgorithm,
112+
SciMLBase.AbstractOverloadingSensitivityAlgorithm,
113113
Nothing},
114114
u0::AbstractArray{<:ReverseDiff.TrackedReal}, p,
115115
args...; kwargs...)

ext/DiffEqBaseTrackerExt.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,31 +63,31 @@ end
6363

6464
function DiffEqBase.solve_up(prob::DiffEqBase.DEProblem,
6565
sensealg::Union{
66-
DiffEqBase.AbstractOverloadingSensitivityAlgorithm,
66+
SciMLBase.AbstractOverloadingSensitivityAlgorithm,
6767
Nothing}, u0::Tracker.TrackedArray,
6868
p::Tracker.TrackedArray, args...; kwargs...)
6969
Tracker.track(DiffEqBase.solve_up, prob, sensealg, u0, p, args...; kwargs...)
7070
end
7171

7272
function DiffEqBase.solve_up(prob::DiffEqBase.DEProblem,
7373
sensealg::Union{
74-
DiffEqBase.AbstractOverloadingSensitivityAlgorithm,
74+
SciMLBase.AbstractOverloadingSensitivityAlgorithm,
7575
Nothing}, u0::Tracker.TrackedArray, p, args...;
7676
kwargs...)
7777
Tracker.track(DiffEqBase.solve_up, prob, sensealg, u0, p, args...; kwargs...)
7878
end
7979

8080
function DiffEqBase.solve_up(prob::DiffEqBase.DEProblem,
8181
sensealg::Union{
82-
DiffEqBase.AbstractOverloadingSensitivityAlgorithm,
82+
SciMLBase.AbstractOverloadingSensitivityAlgorithm,
8383
Nothing}, u0, p::Tracker.TrackedArray, args...;
8484
kwargs...)
8585
Tracker.track(DiffEqBase.solve_up, prob, sensealg, u0, p, args...; kwargs...)
8686
end
8787

8888
Tracker.@grad function DiffEqBase.solve_up(prob,
8989
sensealg::Union{Nothing,
90-
DiffEqBase.AbstractOverloadingSensitivityAlgorithm
90+
SciMLBase.AbstractOverloadingSensitivityAlgorithm
9191
},
9292
u0, p, args...;
9393
kwargs...)

ext/DiffEqBaseZygoteExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ function ∇responsible_map(cx, f, args...)
4141
end
4242
end
4343

44-
ZygoteRules.@adjoint function SciMLBase.tmap(f, args::Union{AbstractArray, Tuple}...)
44+
Zygote.ZygoteRules.@adjoint function SciMLBase.tmap(f, args::Union{AbstractArray, Tuple}...)
4545
∇tmap(__context__, f, args...)
4646
end
4747

48-
ZygoteRules.@adjoint function SciMLBase.responsible_map(f,
48+
Zygote.ZygoteRules.@adjoint function SciMLBase.responsible_map(f,
4949
args::Union{AbstractArray, Tuple
5050
}...)
5151
∇responsible_map(__context__, f, args...)

0 commit comments

Comments
 (0)