Skip to content

Commit 3009894

Browse files
committed
make error clearer
Signed-off-by: Jack Luar <jluar@precisioninno.com>
1 parent 0dab7e3 commit 3009894

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/AutoTuner/test/resume_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def check_trial_times(self, iteration: int = 0) -> int:
9999
If no folders are found, returns a default value of 9e99.
100100
"""
101101
if iteration < 0 or iteration >= self.iterations:
102-
raise ValueError("Iteration must be between 0 and iterations - 1")
102+
raise ValueError("Iteration must be between 0 and (iterations - 1)")
103103

104104
experiment_dir = os.path.join(
105105
cur_dir,

0 commit comments

Comments
 (0)