aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/benchmark.py b/src/benchmark.py
index a1cb9ae..fc77915 100644
--- a/src/benchmark.py
+++ b/src/benchmark.py
@@ -333,7 +333,7 @@ class Benchmark (object):
y_vals = []
for perm in self.iterate_args(args=args):
if scale:
- if scale == alloc:
+ if scale == allocator
y_vals = [1] * len(x_vals)
else:
mean = eval(yval.format(**self.results["mean"][allocator][perm]))