Skip to content

Commit

Permalink
Only check no_turbo arg when we try to minimize
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Jan 5, 2025
1 parent aee9346 commit 1946934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rebench/denoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def _check_for_inconsistent_settings(args):
"when -T|--without-no-turbo is not set."
)
sys.exit(EXIT_CODE_INVALID_SETTINGS)
elif args.use_no_turbo and args.no_turbo is None:
elif args.use_no_turbo and args.no_turbo is None and args.command == "minimize":
print(
"Error: Attempting to set no_turbo, but no value specified with -nt|--no-turbo."
)
Expand Down

0 comments on commit 1946934

Please sign in to comment.