diff options
| -rw-r--r-- | src/benchmark.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/benchmark.py b/src/benchmark.py index fc42763..8abfbc4 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -63,7 +63,7 @@ class Benchmark: max_threads = multiprocessing.cpu_count() * factor if steps > max_threads - min_threads + 1: - return list(range(min_threads, max_threads + 1)) + return list(range(min_threads, int(max_threads) + 1)) nthreads = [] divider = 2 |
