Skip to content

Commit 839bd63

Browse files
chore: rm unwanted adjoint
1 parent 4ce8257 commit 839bd63

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

ext/SciMLBaseZygoteExt.jl

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -215,16 +215,6 @@ end
215215
NonlinearSolution{T, N, uType, R, P, A, O, uType2}(u, args...), NonlinearSolutionAdjoint
216216
end
217217

218-
# @adjoint function literal_getproperty(sol::AbstractTimeseriesSolution,
219-
# ::Val{:u})
220-
# function solu_adjoint(Δ)
221-
# zerou = zero(sol.prob.u0)
222-
# _Δ = @. ifelse(Δ === nothing, (zerou,), Δ)
223-
# (build_solution(sol.prob, sol.alg, sol.t, _Δ),)
224-
# end
225-
# sol.u, solu_adjoint
226-
# end
227-
228218
@adjoint function literal_getproperty(sol::SciMLBase.AbstractNoTimeSolution,
229219
::Val{:u})
230220
function solu_adjoint(Δ)

0 commit comments

Comments
 (0)