Skip to content

Commit

Permalink
correct test
Browse files Browse the repository at this point in the history
  • Loading branch information
rveltz committed Feb 15, 2025
1 parent 4dd1b3f commit 4638bdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/continuation/Contbase.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function _step_size_control!(state, contparams::ContinuationPar, verbosity)
ds = state.ds
if converged(state) == false
if abs(ds) <= contparams.dsmin
@error "Failure to converge with given tolerance = $(contparams.newton_options.tol).\nStep = $(state.step)\n You can decrease the tolerance or pass a different norm using the argument `normC`.\n We reached the smallest value [dsmin] valid for ds, namely $(contparams.dsmin).\n Stopping continuation at continuation step $(state.step)."
@error "Failure to converge with given tolerance = $(contparams.newton_options.tol).\nStep = $(state.step)\nYou can decrease the tolerance or pass a different norm using the argument `normC`.\n We reached the smallest value [dsmin] valid for ds, namely $(contparams.dsmin).\n Stopping continuation at continuation step $(state.step)."
# we stop the continuation
state.stopcontinuation = true
return
Expand Down
2 changes: 1 addition & 1 deletion test/testLure.jl
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ end
# aBS from PD
br_po_pd = continuation(br_po, 1, setproperties(br_po.contparams, detect_bifurcation = 3, max_steps = 5, ds = 0.01, plot_every_step = 1, save_sol_every_step = 1);
# verbosity = 0, plot = false,
usedeflation = true,
# usedeflation = true,
ampfactor = .1, δp = -0.005,
record_from_solution = recordPO,
normC = norminf,
Expand Down

0 comments on commit 4638bdf

Please sign in to comment.