aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/evaluate.py5
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)