From 7fba6b9befaed9c17631c7edf5a1575d4c7340c6 Mon Sep 17 00:00:00 2001 From: Aayush Sabharwal Date: Fri, 3 May 2024 13:02:41 +0530 Subject: [PATCH] refactor: format --- ext/SciMLBaseChainRulesCoreExt.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/SciMLBaseChainRulesCoreExt.jl b/ext/SciMLBaseChainRulesCoreExt.jl index f6adb8996..0d047cec9 100644 --- a/ext/SciMLBaseChainRulesCoreExt.jl +++ b/ext/SciMLBaseChainRulesCoreExt.jl @@ -120,7 +120,8 @@ function ChainRulesCore.rrule( (NoTangent(), ȳ, ntuple(_ -> NoTangent(), length(args))...) end - RODESolution{uType, tType, isinplace, P, NP, F, G, K, ND}(u, args...), RODESolutionAdjoint + RODESolution{uType, tType, isinplace, P, NP, F, G, K, ND}(u, args...), + RODESolutionAdjoint end function ChainRulesCore.rrule(::SciMLBase.EnsembleSolution, sim, time, converged)