Index: bench/gen_bench_expectations.py |
diff --git a/bench/gen_bench_expectations.py b/bench/gen_bench_expectations.py |
index a6f96059b6fc353e2bb00322fd8b4d166c60d6d0..6d44b6cda2a5d9d76a18cd72d2b4065708538677 100644 |
--- a/bench/gen_bench_expectations.py |
+++ b/bench/gen_bench_expectations.py |
@@ -49,6 +49,7 @@ def compute_ranges(benches): |
avg = sum(benches)/len(benches) |
minimum = min(benches) |
maximum = max(benches) |
+ diff = maximum - minimum |
return [minimum - diff*RANGE_RATIO_LOWER - avg*ERR_RATIO - ERR_LB, |
maximum + diff*RANGE_RATIO_UPPER + avg*ERR_RATIO + ERR_UB] |