Skip to content

Commit 47f84fe

Browse files
committed
Fix language bug
1 parent f894500 commit 47f84fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/callbacks.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Affects (i.e. `affect` and `affect_neg`) can be specified as either:
107107
+ `modified_parameters` is a vector of the parameters that are *modified* by `f!`. Note that a parameter will not appear in `p` if it only appears in `modified_parameters`; it must appear in both `parameters` and `modified_parameters` if it is used in the affect definition.
108108
+ `ctx` is a user-defined context object passed to `f!` when invoked. This value is aliased for each problem.
109109
110-
Callbacks that impact a DAE are applied, then the DAE is reinitialized using `reinitializealg` (which defaults to `SciMLBase.CheckInit`).
110+
DAEs will be reinitialized using `reinitializealg` (which defaults to `SciMLBase.CheckInit`) after callbacks are applied.
111111
This reinitialization algorithm ensures that the DAE is satisfied after the callback runs. The default value of `CheckInit` will simply validate
112112
that the newly-assigned values indeed satisfy the algebraic system; see the documentation on DAE initialization for a more detailed discussion of
113113
initialization.

0 commit comments

Comments
 (0)