Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasKoziorek committed Sep 17, 2024
1 parent 22dd88e commit 2ae8d8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api.jl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ end
Given point `u0` on the periodic orbit with period `T`, compute the remaining points of the
periodic orbit. For POs of discrete-time systems, it means iterating the periodic point
`po.T - 1` times. For POs of continuous-time systems, it means integrating the system for
duration `po.T` with stepsize `Δt`.
duration `po.T - Δt` with stepsize `Δt`.
## Keyword arguments
Expand All @@ -135,7 +135,7 @@ function complete_orbit(ds::DynamicalSystem, u0::AbstractArray{<:Real}, T::Real;
isdiscrete && Δt 1 && throw(ArgumentError("Δt must be equal to 1 for discrete-time systems"))
traj, _ = trajectory(
ds,
isdiscrete ? T - 1 : T,
T - Δt,
u0;
Δt=Δt
)
Expand Down

0 comments on commit 2ae8d8a

Please sign in to comment.