aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)