From 4e5fdb390dbd2a15b2cfb46d97b9a72f41b26ec2 Mon Sep 17 00:00:00 2001 From: Michael Tautschnig Date: Thu, 14 Mar 2024 20:53:44 +0000 Subject: [PATCH] Fix syntax error --- tools/benchcomp/benchcomp/visualizers/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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