Skip to content

Commit 7852984

Browse files
docs: document late binding tstops
1 parent 9de748d commit 7852984

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/solve.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,8 @@ section at the end of this page for some example usage.
800800
multistep methods), then `tstops` will use an interpolation,
801801
matching the behavior of `saveat`. If a method cannot change timesteps and
802802
also cannot interpolate, then `tstops` must be a multiple of `dt` or else an
803-
error will be thrown. Default is `[]`.
803+
error will be thrown. `tstops` may also be a function accepting the parameter
804+
object and `tspan`, returning the vector of time points to stop at. Default is `[]`.
804805
* `d_discontinuities:` Denotes locations of discontinuities in low order derivatives.
805806
This will force FSAL algorithms which assume derivative continuity to re-evaluate
806807
the derivatives at the point of discontinuity. The default is `[]`.

0 commit comments

Comments
 (0)