Skip to content

Commit 78a800c

Browse files
Merge pull request #1170 from hersle/patch-1
Level indentation for affect! in DiscreteCallback documentation
2 parents c6558c1 + 329e90d commit 78a800c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/callbacks.jl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -318,11 +318,9 @@ DiscreteCallback(condition, affect!;
318318
- `condition`: This is a function `condition(u,t,integrator)` for declaring when
319319
the callback should be used. A callback is initiated if the condition evaluates
320320
to `true`. See the [Integrator Interface](@ref integrator) documentation for information about `integrator`.
321-
322-
+ `affect!`: This is the function `affect!(integrator)` where one is allowed to
323-
modify the current state of the integrator. For more information on what can
324-
be done, see the [Integrator Interface](@ref integrator) manual page.
325-
321+
- `affect!`: This is the function `affect!(integrator)` where one is allowed to
322+
modify the current state of the integrator. For more information on what can
323+
be done, see the [Integrator Interface](@ref integrator) manual page.
326324
- `save_positions`: Boolean tuple for whether to save before and after the `affect!`.
327325
This saving will occur just before and after the event, only at event times, and
328326
does not depend on options like `saveat`, `save_everystep`, etc. (i.e. if

0 commit comments

Comments
 (0)