Skip to content

Commit ac02619

Browse files
Update bouncing_ball.md
1 parent 90be151 commit ac02619

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/src/examples/bouncing_ball.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,11 @@ res = DiffEqFlux.sciml_train(loss,[0.8],BFGS())
107107
f(x) calls: 16
108108
∇f(x) calls: 16
109109
```
110+
111+
## Note on Sensitivity Methods
112+
113+
Only some continuous adjoint sensitivities are compatible with callbacks, namely
114+
`BacksolveAdjoint` and `InterpolatingAdjoint`. All methods based on discrete sensitivity
115+
analysis via automatic differentiation, like `ReverseDiffAdjoint`, `TrackerAdjoint`, or
116+
`ForwardDiffAdjoint` are the methods to use (and `ReverseDiffAdjoint` is demonstrated above),
117+
are compatible with events. This applies to SDEs, DAEs, and DDEs as well.

0 commit comments

Comments
 (0)