Skip to content

Commit fd67388

Browse files
authored
Merge pull request #1762 from hurak/master
Removed the definition of the unused variable RHS(t) from the copy-pastable example in the docs.
2 parents 078f1e5 + 8959e1d commit fd67388

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/tutorials/ode_modeling.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ But if you want to just see some code and run, here's an example:
1313
```julia
1414
using ModelingToolkit
1515

16-
@variables t x(t) RHS(t) # independent and dependent variables
16+
@variables t x(t) # independent and dependent variables
1717
@parameters τ # parameters
1818
D = Differential(t) # define an operator for the differentiation w.r.t. time
1919

20-
# your first ODE, consisting of a single equation, indicated by ~
20+
# your first ODE, consisting of a single equation, the equality indicated by ~
2121
@named fol = ODESystem([ D(x) ~ (1 - x)/τ])
2222

2323
using DifferentialEquations: solve

0 commit comments

Comments
 (0)