Skip to content

Commit d679bce

Browse files
authored
Solved a possible AUTO bug with restarting of POs computed from data (#49)
Could maybe be applied as well to restarting of POs computed from previous solutions. Not sure about restarting mechanism here, could also lead to a restart with less precision.
1 parent ad7ef11 commit d679bce

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

auto2/continuations/periodic_orbits.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -341,11 +341,11 @@ def make_forward_continuation(
341341
if "BP" in sp:
342342
recontinuation_kwargs["SP"].pop(i)
343343
recontinuation_kwargs["SP"].append("BP0")
344-
recontinuation_kwargs["SP"].append("BP0")
345-
recontinuation_kwargs["IRS"] = "BP" + str(max_bp)
346-
recontinuation_kwargs["ISW"] = 1
347-
recontinuation_kwargs["LAB"] = cf.getIndex(-1)["LAB"] + 1
348-
cf2 = ac.run(runner=runner, **recontinuation_kwargs)
344+
cf2 = ac.run(
345+
runner=runner,
346+
data=cf.getIndex(-1)["solution"],
347+
SP=recontinuation_kwargs["SP"],
348+
)
349349
cf.data[0].append(cf2.data[0])
350350
except AUTORuntimeError:
351351
print(traceback.format_exc())

0 commit comments

Comments
 (0)