From e1bce73577927e248ec2708e8b1100073991831d Mon Sep 17 00:00:00 2001 From: DhairyaLGandhi Date: Thu, 30 May 2024 03:51:18 +0530 Subject: [PATCH] chore: rm literal_getproperty adjoint --- ext/SciMLBaseZygoteExt.jl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ext/SciMLBaseZygoteExt.jl b/ext/SciMLBaseZygoteExt.jl index 4f5ff06b8..2f7399f11 100644 --- a/ext/SciMLBaseZygoteExt.jl +++ b/ext/SciMLBaseZygoteExt.jl @@ -219,16 +219,6 @@ end NonlinearSolution{T, N, uType, R, P, A, O, uType2}(u, args...), NonlinearSolutionAdjoint end -@adjoint function literal_getproperty(sol::AbstractTimeseriesSolution, - ::Val{:u}) - function solu_adjoint(Δ) - zerou = zero(sol.prob.u0) - _Δ = @. ifelse(Δ === nothing, (zerou,), Δ) - (build_solution(sol.prob, sol.alg, sol.t, _Δ),) - end - sol.u, solu_adjoint -end - @adjoint function literal_getproperty(sol::SciMLBase.AbstractNoTimeSolution, ::Val{:u}) function solu_adjoint(Δ)