Skip to content

Commit

Permalink
correct mistake in aBS
Browse files Browse the repository at this point in the history
  • Loading branch information
rveltz committed Nov 16, 2024
1 parent c9b7e97 commit 705a236
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/bifdiagram/BranchSwitching.jl
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function multicontinuation(br::AbstractBranchResult,
bpnf::NdBranchPoint,
options_cont::ContinuationPar = br.contparams;
δp = nothing,
ampfactor = getvectoreltype(br)(1),
ampfactor = _getvectoreltype(br)(1),
perturb = identity,
plot_solution = plot_solution(br.prob),
kwargs...)
Expand Down
20 changes: 10 additions & 10 deletions src/codim2/codim2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -234,17 +234,17 @@ function continuation(br::AbstractBranchResult,
_options_cont = detect_codim2_parameters(detect_codim2_bifurcation, options_cont; update_minaug_every_step, kwargs...)

if br.specialpoint[ind_bif].type == :hopf
return continuation_hopf(prob, br, ind_bif, lens2, _options_cont;
start_with_eigen,
compute_eigen_elements,
update_minaug_every_step,
kwargs...)
return continuation_hopf(prob, br, ind_bif, lens2, _options_cont;
start_with_eigen,
compute_eigen_elements,
update_minaug_every_step,
kwargs...)
else
return continuation_fold(prob, br, ind_bif, lens2, _options_cont;
start_with_eigen,
compute_eigen_elements,
update_minaug_every_step,
kwargs...)
return continuation_fold(prob, br, ind_bif, lens2, _options_cont;
start_with_eigen,
compute_eigen_elements,
update_minaug_every_step,
kwargs...)
end
end
####################################################################################################
Expand Down
5 changes: 4 additions & 1 deletion src/periodicorbit/Floquet.jl
Original file line number Diff line number Diff line change
Expand Up @@ -450,9 +450,12 @@ end

@views function (eig::FloquetColl)(JacColl, nev; kwargs...)
pbcoll = JacColl.pb
𝒯 = eltype(pbcoll)
J = _get_matrix(JacColl)
n, m, Ntst = size(pbcoll)
_eig_floquet_col(J, n, m, Ntst, nev)
end

function _eig_floquet_col(J::AbstractMatrix{𝒯}, n, m, Ntst, nev) where 𝒯
nbcoll = n * m
N = n
In = LinearAlgebra.I(N)
Expand Down

0 comments on commit 705a236

Please sign in to comment.