diff options
author | Karel Kočí <cynerd@email.cz> | 2015-05-22 02:21:13 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-05-22 02:21:13 +0200 |
commit | 9494f8551a1afede5954ab43351e86d2722f0f2f (patch) | |
tree | 5158375484c63eaa651dbca46df1fb04115642fe /scripts | |
parent | a553aba5abd8b314f17e71ea694196ee54012254 (diff) | |
download | linux-conf-perf-9494f8551a1afede5954ab43351e86d2722f0f2f.tar.gz linux-conf-perf-9494f8551a1afede5954ab43351e86d2722f0f2f.tar.bz2 linux-conf-perf-9494f8551a1afede5954ab43351e86d2722f0f2f.zip |
Fix problem with swapped columns numbering
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/evaluate.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/evaluate.py b/scripts/evaluate.py index b4159ea..b3b2a15 100755 --- a/scripts/evaluate.py +++ b/scripts/evaluate.py @@ -79,7 +79,10 @@ def reduce_matrix(A, symrow, bases): i -= 1 # Search for Bases - basesx = reduce_matrix_search_for_base(columns) + columnsr = [] + for i in range(len(columns) - 1, -1,-1): + columnsr.append(columns[i]) + basesx = reduce_matrix_search_for_base(columnsr) if bases: for base in basesx: bases[0].append(base) |