@@ -260,21 +260,12 @@ end
260
260
261
261
@deprecate concrete_solve (prob:: DiffEqBase.DEProblem ,alg:: Union{DiffEqBase.DEAlgorithm,Nothing} ,
262
262
u0= prob. u0,p= prob. p,args... ;kwargs... ) solve (prob,alg,args... ;u0= u0,p= p,kwargs... )
263
-
263
+
264
264
ZygoteRules. @adjoint function concrete_solve (prob:: DiffEqBase.DEProblem ,
265
265
alg:: Union{DiffEqBase.DEAlgorithm,Nothing} ,
266
266
u0= prob. u0,p= prob. p,args... ;
267
267
sensealg= nothing ,
268
268
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!" )
278
269
_concrete_solve_adjoint (prob,alg,sensealg,u0,p,args... ;kwargs... )
279
270
end
280
271
0 commit comments