Skip to content

Commit 8b5e58d

Browse files
hotfix new extensions
1 parent db00ab8 commit 8b5e58d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SciMLBase"
22
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
33
authors = ["Chris Rackauckas <accounts@chrisrackauckas.com> and contributors"]
4-
version = "2.7.0"
4+
version = "2.7.1"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

ext/SciMLBaseChainRulesCoreExt.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
module SciMLBaseChainRulesCoreExt
22

3+
using SciMLBase
34
import ChainRulesCore
45
import ChainRulesCore: NoTangent, @non_differentiable
56

@@ -118,7 +119,7 @@ function ChainRulesCore.rrule(::Type{
118119
SDESolution{uType, tType, isinplace, P, NP, F, G, K, ND}(u, args...), SDESolutionAdjoint
119120
end
120121

121-
function ChainRulesCore.rrule(::DiffEqBase.EnsembleSolution, sim, time, converged)
122+
function ChainRulesCore.rrule(::SciMLBase.EnsembleSolution, sim, time, converged)
122123
out = EnsembleSolution(sim, time, converged)
123124
function EnsembleSolution_adjoint(p̄::AbstractArray{T, N}) where {T, N}
124125
arrarr = [[p̄[ntuple(x -> Colon(), Val(N - 2))..., j, i]

0 commit comments

Comments
 (0)