diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-18 15:12:03 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-07-18 15:12:03 +0200 |
| commit | 6abee3a629c640dc0d32c36077929a338bfe6285 (patch) | |
| tree | efdd6507058a5de3ae058e074094d92b8b66db58 | |
| parent | 40d8ac1abab0f62cf6ec714eec323ec8048ba2f7 (diff) | |
| download | allocbench-6abee3a629c640dc0d32c36077929a338bfe6285.tar.gz allocbench-6abee3a629c640dc0d32c36077929a338bfe6285.zip | |
[benchmark] iterate_args prioritize arguments from results when available
| -rw-r--r-- | allocbench/benchmark.py | 2 |
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 = {} |
