Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/src/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,17 +126,17 @@ ODEProblem(<vector field>, <time span>, <time step>, <initial conditions>; kwarg
```
so to create and `ODEProblem`, one only needs to pass the above function `ẋ`, a tuple
`tspan` containing the start and end times of the integration, the time step
`tstep` as well as an initial condition:
`Δt` as well as an initial condition:
```@example 1
tspan = (0.0, 10.0)
tstep = 0.1
Δt = 0.1
x₀ = [acos(0.4), 0.0]

ode = ODEProblem(ẋ, tspan, tstep, x₀)
ode = ODEProblem(ẋ, tspan, Δt, x₀)
```
The full constructor would look like
```@example 1
ode = ODEProblem(ẋ, tspan, tstep, x₀; invariants = NullInvariants(),
ode = ODEProblem(ẋ, tspan, Δt, x₀; invariants = NullInvariants(),
parameters = NullParameters(), periodicity = NullPeriodicity())
```
where all keyword arguments, namely invariants, parameters and periodicity, are
Expand Down