changeset 953:e1b809d032df

Removed redundant call to tuple.
author Martin Geisler <mg@daimi.au.dk>
date Sat, 27 Sep 2008 10:43:56 +0200
parents 4dd2fedb0a8b
children a978f6160b41
files viff/shamir.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/viff/shamir.py	Sat Sep 27 10:42:21 2008 +0200
+++ b/viff/shamir.py	Sat Sep 27 10:43:56 2008 +0200
@@ -99,8 +99,8 @@
     Recombination is done in the optional point *x_recomb*.
     """
     xs, ys = zip(*shares)
+    key = xs + (x_recomb, )
     try:
-        key = tuple(xs) + (x_recomb, )
         vector = _recombination_vectors[key]
     except KeyError:
         vector = []