From 056d342fd5c5f2af91b32521f8b46ade8a367e7e Mon Sep 17 00:00:00 2001 From: romain veltz Date: Sun, 8 Sep 2024 22:22:20 +0200 Subject: [PATCH] resolve method ambiguity for aBS to codim2 --- src/codim2/codim2.jl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/codim2/codim2.jl b/src/codim2/codim2.jl index 0de5c851..7344c3f2 100644 --- a/src/codim2/codim2.jl +++ b/src/codim2/codim2.jl @@ -249,10 +249,11 @@ function continuation(br::AbstractBranchResult, end #################################################################################################### # branch switching at BT / ZH / HH bifurcation point -function continuation(br::AbstractResult{Tkind, Tprob}, ind_bif::Int, +function continuation(br::AbstractResult{EquilibriumCont, Tprob}, ind_bif::Int, options_cont::ContinuationPar = br.contparams; alg = br.alg, - δp = nothing, ampfactor::Real = 1, + δp = nothing, + ampfactor::Real = 1, nev = options_cont.nev, detect_codim2_bifurcation::Int = 0, Teigvec = _getvectortype(br), @@ -265,7 +266,7 @@ function continuation(br::AbstractResult{Tkind, Tprob}, ind_bif::Int, bdlinsolver::AbstractBorderedLinearSolver = getprob(br).prob.linbdsolver, bdlinsolver_adjoint = bdlinsolver, bdlinsolver_block = bdlinsolver, - kwargs...) where {Tkind, Tprob <: Union{FoldMAProblem, HopfMAProblem}} + kwargs...) where {Tprob <: Union{FoldMAProblem, HopfMAProblem}} verbose = get(kwargs, :verbosity, 0) > 0 ? true : false verbose && println("--> Considering bifurcation point:"); _show(stdout, br.specialpoint[ind_bif], ind_bif)