diff --git a/Tools/pybench/pybench.py b/Tools/pybench/pybench.py index 83a62173c64..9dee73194a7 100755 --- a/Tools/pybench/pybench.py +++ b/Tools/pybench/pybench.py @@ -230,7 +230,7 @@ def __init__(self, warp=None, calibration_runs=None, timer=None): raise ValueError('at least one calibration run is required') self.calibration_runs = calibration_runs if timer is not None: - timer = timer + self.timer = timer # Init variables self.times = []