From 6abee3a629c640dc0d32c36077929a338bfe6285 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sat, 18 Jul 2020 15:12:03 +0200 Subject: [benchmark] iterate_args prioritize arguments from results when available --- allocbench/benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = {} -- cgit v1.2.3