aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-07-07 14:18:11 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-07-07 14:18:11 +0200
commitbbb77327d4e64b7e36ba4dcc4297bcf41299b0f7 (patch)
tree46eae4bd74ff6e261920f02ffc39a835e4b602d4
parent70881b79e258f46b4e1ca9ab348f79fd8e56b567 (diff)
downloadallocbench-bbb77327d4e64b7e36ba4dcc4297bcf41299b0f7.tar.gz
allocbench-bbb77327d4e64b7e36ba4dcc4297bcf41299b0f7.zip
[plots.py] fix table definition of write_best_doublearg_tex_table
-rw-r--r--allocbench/plots.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/allocbench/plots.py b/allocbench/plots.py
index 6d24b04..a7c3fd2 100644
--- a/allocbench/plots.py
+++ b/allocbench/plots.py
@@ -614,9 +614,10 @@ def write_best_doublearg_tex_table(bench,
best.append(allocator)
row.append(f"{best[0]}: {best_val:.3f}")
- cell_text.append(" & ".join(row))
+ row_str = " & ".join(row)
+ cell_text.append(f"{arg_value} & {row_str}")
- table_layout = " l |" * len(headers)
+ table_layout = " l |" * (len(headers) + 1)
header_line = " & ".join([str(x) for x in headers])
cell_text = "\\\\\n".join(cell_text)