aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-07-10 18:27:53 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-07-10 18:27:53 +0200
commitedbc3989545ca7d74dc9f99593655b3d66eddd5f (patch)
treea6b8e5c70d215a40189ef43e3b0dbff111d5c0a5
parent48be53bc64e3c53e55f890403f74f2090107e9ff (diff)
downloadallocbench-edbc3989545ca7d74dc9f99593655b3d66eddd5f.tar.gz
allocbench-edbc3989545ca7d74dc9f99593655b3d66eddd5f.zip
[plots.py] remove useless comprehension
-rw-r--r--allocbench/plots.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/allocbench/plots.py b/allocbench/plots.py
index b29ef2b..a55f7e2 100644
--- a/allocbench/plots.py
+++ b/allocbench/plots.py
@@ -419,7 +419,7 @@ def plot(bench,
fixed_args = [[(k, v) for v in args[k]] for k in args
if k != loose_arg]
for fixed_part_tuple in itertools.product(*fixed_args):
- fixed_part = {k: v for k, v in fixed_part_tuple}
+ fixed_part = dict(fixed_part_tuple)
fixed_part_str = ".".join(
[f'{k}={v}' for k, v in fixed_part.items()])