Skip to content

Commit 284660b

Browse files
authored
Merge pull request #865 from SciML/proposed_compositional_modelling_doc_updates
Proposed compositional modelling doc updates
2 parents 04c0a13 + 535ad6a commit 284660b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/pages.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ pages = Any[
99
"model_creation/dsl_basics.md",
1010
"model_creation/dsl_advanced.md",
1111
#"model_creation/programmatic_CRN_construction.md",
12-
#"model_creation/compositional_modeling.md",
12+
"model_creation/compositional_modeling.md",
1313
#"model_creation/constraint_equations.md",
1414
# Events.
1515
#"model_creation/parametric_stoichiometry.md",# Distributed parameters, rates, and initial conditions.

docs/src/model_creation/compositional_modeling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ end
1818
Alternatively one can just build the `ReactionSystem` via the symbolic interface.
1919
```@example ex0
2020
@parameters d
21-
@variable t
21+
t = default_t()
2222
@species X(t)
2323
rx = Reaction(d, [X], nothing)
24-
@named degradation_component = ReactionSystem([rs], t)
24+
@named degradation_component = ReactionSystem([rx], t)
2525
```
2626
We can test whether a system is complete using the `ModelingToolkit.iscomplete` function:
2727
```@example ex0

0 commit comments

Comments
 (0)