aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/benchmark.py b/src/benchmark.py
index b78e937..20c2ca0 100644
--- a/src/benchmark.py
+++ b/src/benchmark.py
@@ -359,7 +359,7 @@ class Benchmark (object):
loose_arg = [a for a in args if a != arg][0]
if not autoticks:
- x_vals = list(range(1, len(args[arg]) + 1))
+ x_vals = list(range(1, len(args[loose_arg]) + 1))
else:
x_vals = args[loose_arg]