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())