From 839bd636afb100afd5a00f7224d88d33c47ad16f Mon Sep 17 00:00:00 2001 From: DhairyaLGandhi Date: Thu, 16 May 2024 23:21:49 +0530 Subject: [PATCH] chore: rm unwanted adjoint --- ext/SciMLBaseZygoteExt.jl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ext/SciMLBaseZygoteExt.jl b/ext/SciMLBaseZygoteExt.jl index 13eb86d13..9624a227a 100644 --- a/ext/SciMLBaseZygoteExt.jl +++ b/ext/SciMLBaseZygoteExt.jl @@ -215,16 +215,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(Δ)