aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-05-20 21:37:05 +0200
committerKarel Kočí <cynerd@email.cz>2015-05-20 21:37:05 +0200
commitcf190b57aba54003efe0996c598216cbfe8c0cd0 (patch)
tree10ad66ebbdea549030c65ec0032bb05ede0ad906
parent62a0c29f4d3d18cb7715be05eb5ccba5dcc0762f (diff)
downloadlinux-conf-perf-cf190b57aba54003efe0996c598216cbfe8c0cd0.tar.gz
linux-conf-perf-cf190b57aba54003efe0996c598216cbfe8c0cd0.tar.bz2
linux-conf-perf-cf190b57aba54003efe0996c598216cbfe8c0cd0.zip
Fix evaluate script
-rwxr-xr-xscripts/evaluate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/evaluate.py b/scripts/evaluate.py
index 32129bc..b4159ea 100755
--- a/scripts/evaluate.py
+++ b/scripts/evaluate.py
@@ -85,7 +85,7 @@ def reduce_matrix(A, symrow, bases):
bases[0].append(base)
# Generate new Base
- if not bases:
+ if bases == [[]]:
for x in range(0, len(A)):
A[x].append(1)
symrow.append(0)