diff --git a/tools/benchcomp/benchcomp/visualizers/__init__.py b/tools/benchcomp/benchcomp/visualizers/__init__.py index bf4ce2ac89db..9922731d7e7f 100644 --- a/tools/benchcomp/benchcomp/visualizers/__init__.py +++ b/tools/benchcomp/benchcomp/visualizers/__init__.py @@ -302,8 +302,7 @@ def _add_scaled_metrics(data_for_metric, log_scaling): abs_value = math.log(variant_result["absolute"], 10) else: abs_value = variant_result["absolute"] - else: - variant_result["scaled"] = (abs_value - min_value) / value_range + variant_result["scaled"] = (abs_value - min_value) / value_range @staticmethod