X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_tables.py;h=46aa71ca48fe8696e84b066038c809d8a66160db;hb=refs%2Fchanges%2F96%2F12196%2F2;hp=f86bc1a79f2db2320289123cc997cad63b85f6db;hpb=e7f9cb1bc6f96ca79fdba328fd14ce197e28c7a7;p=csit.git diff --git a/resources/tools/presentation/generator_tables.py b/resources/tools/presentation/generator_tables.py index f86bc1a79f..46aa71ca48 100644 --- a/resources/tools/presentation/generator_tables.py +++ b/resources/tools/presentation/generator_tables.py @@ -468,8 +468,8 @@ def table_performance_comparison(table, input_data): item.extend([None, None]) else: item.extend([None, None]) - if item[-5] is not None and item[-3] is not None and item[-5] != 0: - item.append(int(relative_change(float(item[-5]), float(item[-3])))) + if item[-4] is not None and item[-2] is not None and item[-4] != 0: + item.append(int(relative_change(float(item[-4]), float(item[-2])))) if len(item) == len(header): tbl_lst.append(item)