Skip to content

Commit 3b7832e

Browse files
Merge pull request #626 from ArnoStrouwen/destats
deprecate destats in extensions
2 parents eca78b8 + 1fa8e29 commit 3b7832e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ext/SciMLBaseChainRulesCoreExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function ChainRulesCore.rrule(config::ChainRulesCore.RuleConfig{
4343
typeof(VA.alg),
4444
typeof(VA.interp),
4545
typeof(VA.alg_choice),
46-
typeof(VA.destats),
46+
typeof(VA.stats),
4747
}(du,
4848
nothing,
4949
nothing,
@@ -54,7 +54,7 @@ function ChainRulesCore.rrule(config::ChainRulesCore.RuleConfig{
5454
VA.interp,
5555
VA.dense,
5656
0,
57-
VA.destats,
57+
VA.stats,
5858
VA.alg_choice,
5959
VA.retcode)
6060
(NoTangent(), Δ′, NoTangent(), NoTangent())

ext/SciMLBaseZygoteExt.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ using RecursiveArrayTools
2424
N = length(VA.prob.p)
2525
Δ′ = ODESolution{T, N, typeof(du), Nothing, Nothing, typeof(VA.t),
2626
typeof(VA.k), typeof(dprob), typeof(VA.alg), typeof(VA.interp),
27-
typeof(VA.destats), typeof(VA.alg_choice)}(du, nothing, nothing,
28-
VA.t, VA.k, dprob, VA.alg, VA.interp, VA.dense, 0, VA.destats,
27+
typeof(VA.stats), typeof(VA.alg_choice)}(du, nothing, nothing,
28+
VA.t, VA.k, dprob, VA.alg, VA.interp, VA.dense, 0, VA.stats,
2929
VA.alg_choice, VA.retcode)
3030
(Δ′, nothing, nothing)
3131
end
@@ -53,8 +53,8 @@ end
5353
N = length(VA.prob.p)
5454
Δ′ = ODESolution{T, N, typeof(du), Nothing, Nothing, typeof(VA.t),
5555
typeof(VA.k), typeof(dprob), typeof(VA.alg), typeof(VA.interp),
56-
typeof(VA.destats), typeof(VA.alg_choice)}(du, nothing, nothing,
57-
VA.t, VA.k, dprob, VA.alg, VA.interp, VA.dense, 0, VA.destats,
56+
typeof(VA.stats), typeof(VA.alg_choice)}(du, nothing, nothing,
57+
VA.t, VA.k, dprob, VA.alg, VA.interp, VA.dense, 0, VA.stats,
5858
VA.alg_choice, VA.retcode)
5959
(Δ′, nothing, nothing)
6060
end

0 commit comments

Comments
 (0)