@@ -260,21 +260,12 @@ end
260260
261261@deprecate concrete_solve (prob:: DiffEqBase.DEProblem ,alg:: Union{DiffEqBase.DEAlgorithm,Nothing} ,
262262 u0= prob. u0,p= prob. p,args... ;kwargs... ) solve (prob,alg,args... ;u0= u0,p= p,kwargs... )
263-
263+
264264ZygoteRules. @adjoint function concrete_solve (prob:: DiffEqBase.DEProblem ,
265265 alg:: Union{DiffEqBase.DEAlgorithm,Nothing} ,
266266 u0= prob. u0,p= prob. p,args... ;
267267 sensealg= nothing ,
268268 kwargs... )
269- @warn (" concrete_solve is deprecated. Only solve is required now.
270- Additionally, new keyword arguments have been added for
271- convenience of changing parameters and initial conditions, so
272- concrete_solve(prob,alg,u0,p,args...;kwargs...) is equivalent
273- to solve(prob,alg,args...;u0=u0,p=p,kwargs...). Note that
274- the `u0` and `p` keyword arguments are not required and will
275- be picked up automatically from the `DEProblem` if the `DEProblem`
276- is defined in the differentiation context. So carry about your
277- day using `solve`: nothing special is required for adjoints!" )
278269 _concrete_solve_adjoint (prob,alg,sensealg,u0,p,args... ;kwargs... )
279270end
280271
0 commit comments