Skip to content

Commit 3041423

Browse files
committed
note that trajectory doesn't really work with callbacks
1 parent b75336e commit 3041423

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/trajectory.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ The returned time vector is `t = (t0+Ttr):Δt:(t0+Ttr+T)`.
1212
If time evolution diverged before `T`, the remaining of the trajectory is set
1313
to the last valid point.
1414
15+
`trajectory` is a very simple function provided for convenience.
16+
For continuous time systems, it doesn't play well with callbacks,
17+
use `DifferentialEquations.solve` if you want a trajectory/timeseries
18+
that works with callbacks.
19+
1520
## Keyword arguments
1621
1722
* `Δt`: Time step of value output. For discrete time systems it must be an integer.

0 commit comments

Comments
 (0)