Skip to content

Commit c993485

Browse files
authored
Use OrdinaryDiffEq where remake was added
1 parent 154bdbf commit c993485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/model_simulation/simulation_structure_interfacing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ get_S(oprob)
150150
## [Interfacing using symbolic representations](@id simulation_structure_interfacing_symbolic_representation)
151151
When e.g. [programmatic modelling is used](@ref programmatic_CRN_construction), species and parameters can be represented as *symbolic variables*. These can be used to index a problem, just like symbol-based representations can. Here we create a simple [two-state model](@ref basic_CRN_library_two_states) programmatically, and use its symbolic variables to check, and update, an initial condition:
152152
```@example structure_indexing_symbolic_variables
153-
using Catalyst
153+
using Catalyst, OrdinaryDiffEq
154154
t = default_t()
155155
@species X1(t) X2(t)
156156
@parameters k1 k2
@@ -183,4 +183,4 @@ oprob[two_state_model.X1 + two_state_model.X2]
183183
This can be used to form symbolic expressions using model quantities when a model has been created using the DSL (as an alternative to @unpack). Alternatively, [creating an observable](@ref dsl_advanced_options_observables), and then interface using its `Symbol` representation, is also possible.
184184

185185
!!! warn
186-
With interfacing with a simulating structure using symbolic variables stored in a `ReactionSystem` model, ensure that the model is complete.
186+
With interfacing with a simulating structure using symbolic variables stored in a `ReactionSystem` model, ensure that the model is complete.

0 commit comments

Comments
 (0)