Skip to content

Commit

Permalink
Change resume criterion
Browse files Browse the repository at this point in the history
  • Loading branch information
nickjcroucher committed Aug 16, 2022
1 parent ab18e3d commit 4581de1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/gubbins/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def parse_and_run(input_args, program_description=""):
exit(1)
else:
starting_iteration = int(search_itr.group(1)) + 1
if starting_iteration >= input_args.iterations:
if starting_iteration > input_args.iterations:
sys.stderr.write('Run has already reached the number of specified iterations\n')
exit(1)
else:
Expand Down

0 comments on commit 4581de1

Please sign in to comment.