changeset 755:b9c66c527499

Small coding style change.
author Martin Geisler <mg@daimi.au.dk>
date Wed, 14 May 2008 15:16:41 +0200
parents c226cbce211b
children 2467d814530c
files viff/matrix.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/viff/matrix.py	Wed May 14 09:42:59 2008 +0200
+++ b/viff/matrix.py	Wed May 14 15:16:41 2008 +0200
@@ -262,7 +262,7 @@
         for j in range(0, n):
             product = 1
             for k in range(0, n):
-                if not k == j:
+                if k != j:
                     product *= field(n+i-k)/field(j-k)
             result[i, j] = product
     return result