aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-07-18 15:12:03 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-07-18 15:12:03 +0200
commit6abee3a629c640dc0d32c36077929a338bfe6285 (patch)
treeefdd6507058a5de3ae058e074094d92b8b66db58
parent40d8ac1abab0f62cf6ec714eec323ec8048ba2f7 (diff)
downloadallocbench-6abee3a629c640dc0d32c36077929a338bfe6285.tar.gz
allocbench-6abee3a629c640dc0d32c36077929a338bfe6285.zip
[benchmark] iterate_args prioritize arguments from results when available
-rw-r--r--allocbench/benchmark.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/allocbench/benchmark.py b/allocbench/benchmark.py
index 3294087..0a03a78 100644
--- a/allocbench/benchmark.py
+++ b/allocbench/benchmark.py
@@ -363,7 +363,7 @@ class Benchmark:
self.iterate_args(args, {"a2":"bar"}) yields [(1, "bar"), (2, "bar")]
self.iterate_args(args, {"a1":2, "a2":"foo"}) yields [(2, "foo")]"""
if not args:
- args = self.args
+ args = self.results["args"] or self.args
if not fixed:
fixed = {}