changeset 1457:f424bbdbce03

BeDOZa: Fixed bug.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Tue, 06 Jul 2010 10:59:00 +0200
parents f7f9647ae5b7
children 1daa218516f8
files viff/bedoza.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/viff/bedoza.py	Tue Jul 06 10:56:30 2010 +0200
+++ b/viff/bedoza.py	Tue Jul 06 10:59:00 2010 +0200
@@ -63,7 +63,7 @@
         keys = []
         for k1, k2 in zip(self.keys, other.keys):
             keys.append(k1 + k2)
-        return BeDOZaKeyList(keys)
+        return BeDOZaKeyList(self.alpha, keys)
 
     def __eq__(self, other):
         return self.alpha == other.alpha and self.keys == other.keys