Skip to content

Commit 475ade8

Browse files
authored
Update readme to use t as a variable rather than parameter (#2273)
1 parent d5fef6a commit 475ade8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ for the numerical integrator, and solve it.
3838
```julia
3939
using DifferentialEquations, ModelingToolkit
4040

41-
@parameters t σ ρ β
42-
@variables x(t) y(t) z(t)
41+
@parameters σ ρ β
42+
@variables t x(t) y(t) z(t)
4343
D = Differential(t)
4444

4545
eqs = [D(D(x)) ~ σ * (y - x),
@@ -76,8 +76,8 @@ Equation (DAE):
7676
```julia
7777
using DifferentialEquations, ModelingToolkit
7878

79-
@parameters t σ ρ β
80-
@variables x(t) y(t) z(t)
79+
@parameters σ ρ β
80+
@variables t x(t) y(t) z(t)
8181
D = Differential(t)
8282

8383
eqs = [D(x) ~ σ * (y - x),

0 commit comments

Comments
 (0)