From b085aa0f6245440f1d7205944890819d226b456f Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 6 Mar 2019 13:51:08 +0100 Subject: fix scale_threads --- src/benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/benchmark.py') diff --git a/src/benchmark.py b/src/benchmark.py index edf5b16..35987f5 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -35,7 +35,7 @@ class Benchmark (object): steps = 1 if max_threads >= 20 and max_threads < 50: steps = 2 - if max_threads >= 50 max_threads < 100: + if max_threads >= 50 and max_threads < 100: steps = 5 if max_threads >= 100: steps = 10 -- cgit v1.2.3