Skip to content

Commit 3bccc87

Browse files
authored
Merge pull request #584 from PlasmaControl/rc/hotfix
Don't overwrite equilibria during automatic continuation method
2 parents 901e7a8 + 8c29609 commit 3bccc87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

desc/continuation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ def _add_pressure(
282282
)
283283
stop = stop or not eqi.is_nested()
284284
eqfam.append(eqi)
285+
eqi = eqi.copy()
285286

286287
if checkpoint_path is not None:
287288
if verbose > 0:
@@ -414,6 +415,7 @@ def _add_shaping(
414415
)
415416
stop = stop or not eqi.is_nested()
416417
eqfam.append(eqi)
418+
eqi = eqi.copy()
417419

418420
if checkpoint_path is not None:
419421
if verbose > 0:

0 commit comments

Comments
 (0)