Skip to content

Commit b0c2938

Browse files
committed
Format
1 parent ac75e77 commit b0c2938

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/src/tutorials/ode_modeling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ end
8686

8787
Note that equations in MTK use the tilde character (`~`) as equality sign.
8888

89-
`@mtkbuild` creates an instance of `FOL` named as `fol`.
89+
`@mtkbuild` creates an instance of `FOL` named as `fol`.
9090

9191
After construction of the ODE, you can solve it using [DifferentialEquations.jl](https://docs.sciml.ai/DiffEqDocs/stable/):
9292

@@ -174,7 +174,7 @@ sol[fol.x]
174174
or to get the second value in the time series for `x`:
175175

176176
```@example ode2
177-
sol[fol.x,2]
177+
sol[fol.x, 2]
178178
```
179179

180180
Similarly, the time series for `RHS` can be retrieved using the same indexing:

docs/src/tutorials/programmatically_generating.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ using Symbolics
2121
@variables t x(t) y(t) # Define variables
2222
D = Differential(t) # Define a differential operator
2323
eqs = [D(x) ~ y
24-
D(y) ~ x] # Define an array of equations
24+
D(y) ~ x] # Define an array of equations
2525
```
2626

2727
## The Non-DSL (non-`@mtkmodel`) Way of Defining an ODESystem
@@ -77,7 +77,7 @@ a = :c
7777
b = only(@variables($a))
7878
```
7979

80-
In this example, `@variables($a)` created a variable named `c`, and set this variable to `b`.
80+
In this example, `@variables($a)` created a variable named `c`, and set this variable to `b`.
8181

8282
Variables are not the only thing with names. For example, when you build a system, it knows its name
8383
that name is used in the namespacing. In the standard usage, again the Julia variable and the
@@ -103,4 +103,4 @@ fol_model = ODESystem(eqs, t; name = namesym)
103103

104104
## Warning About Mutation
105105

106-
Be advsied that it's never a good idea to mutate an `ODESystem`, or any `AbstractSystem`.
106+
Be advsied that it's never a good idea to mutate an `ODESystem`, or any `AbstractSystem`.

0 commit comments

Comments
 (0)