Skip to content

Commit

Permalink
correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rveltz committed Mar 1, 2025
1 parent 6477735 commit c62718f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/periodicorbit/PeriodicOrbitCollocation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ function generate_ci_problem(pb::PeriodicOrbitOCollProblem,
u0 = sol_ode(t0)
@assert u0 isa AbstractVector
N = length(u0)
𝒯 = eltype(u0)

n, m, Ntst = size(pb)
n_unknowns = N * (1 + m * Ntst)
Expand Down Expand Up @@ -1063,7 +1064,6 @@ Similar to [`continuation`](@ref) except that `prob` is a [`PeriodicOrbitOCollPr
- `eigsolver` specify an eigen solver for the computation of the Floquet exponents, defaults to `FloquetQaD`
"""
function continuation(coll::PeriodicOrbitOCollProblem,
jacPO = generate_jacobian(coll, orbitguess, getparams(coll); δ)
orbitguess,
alg::AbstractContinuationAlgorithm,
_contParams::ContinuationPar,
Expand All @@ -1073,6 +1073,7 @@ function continuation(coll::PeriodicOrbitOCollProblem,
record_from_solution = nothing,
plot_solution = nothing,
kwargs...)
jacPO = generate_jacobian(coll, orbitguess, getparams(coll); δ)
if linear_algo isa COPBLS
_Jcoll = analytical_jacobian(coll, orbitguess, getparams(coll))
linear_algo = COPBLS(coll)
Expand Down

0 comments on commit c62718f

Please sign in to comment.