aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-03-11 23:06:10 +0100
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-03-11 23:06:10 +0100
commit8ca8dabf8b91715c77611276ae3bfe1da24f8dbb (patch)
tree4c37e2d662f4cf85f8a736845161c8a067cc7845
parent4b4eea86ecc58650673dae71db48ca9c3e8e0c7c (diff)
downloadallocbench-8ca8dabf8b91715c77611276ae3bfe1da24f8dbb.tar.gz
allocbench-8ca8dabf8b91715c77611276ae3bfe1da24f8dbb.zip
join only strings
-rw-r--r--src/benchmark.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmark.py b/src/benchmark.py
index e8d52c6..daa20be 100644
--- a/src/benchmark.py
+++ b/src/benchmark.py
@@ -457,7 +457,7 @@ class Benchmark:
substitutions.update(alloc)
if perm:
substitutions.update(perm._asdict())
- substitutions["perm"] = "-".join(*perm)
+ substitutions["perm"] = "-".join([str(v) for v in perm])
else:
substitutions["perm"] = ""
@@ -591,7 +591,7 @@ class Benchmark:
try:
data = [float(m[dp]) for m in self.results[alloc][perm]]
except (TypeError, ValueError) as e:
- print_debug(e)
+ print_debug(dp, e)
continue
stats["min"][dp] = np.min(data)
stats["max"][dp] = np.max(data)