From d061ce47f10d99f78850e08b820727c6228b3c8b Mon Sep 17 00:00:00 2001 From: DhairyaLGandhi Date: Mon, 20 May 2024 19:08:02 +0530 Subject: [PATCH] chore: format --- ext/SciMLBaseZygoteExt.jl | 2 +- test/downstream/observables_autodiff.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/SciMLBaseZygoteExt.jl b/ext/SciMLBaseZygoteExt.jl index 7d9ddb084..4f5ff06b8 100644 --- a/ext/SciMLBaseZygoteExt.jl +++ b/ext/SciMLBaseZygoteExt.jl @@ -174,7 +174,7 @@ end gs_not_obs = not_obs_grads(VA, sym, not_obs_idx, i, Δ) a = Zygote.accum(gs_obs[1], gs_not_obs) - + (a, nothing) end VA[sym], ODESolution_getindex_pullback diff --git a/test/downstream/observables_autodiff.jl b/test/downstream/observables_autodiff.jl index e03cb7fc6..974afa150 100644 --- a/test/downstream/observables_autodiff.jl +++ b/test/downstream/observables_autodiff.jl @@ -75,7 +75,7 @@ end @testset "DAE Observable function AD" begin model = create_model() sys = structural_simplify(model) - + prob = ODEProblem(sys, [], (0.0, 1.0)) sol = solve(prob, Rodas4())