Skip to content

Commit

Permalink
Fix prepare_for_restart arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinvis committed Oct 25, 2021
1 parent 5d79e6d commit 216385d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snek5000/util/restart.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def prepare_for_restart(path, chkp_fnumber=1, verify_contents=True):
DeprecationWarning,
)
params, _ = load_for_restart(
path, checkpoint=chkp_fnumber, verify_contents=verify_contents
path, use_checkpoint=chkp_fnumber, verify_contents=verify_contents
)
return params

Expand Down

0 comments on commit 216385d

Please sign in to comment.