changeset 1469:c2bb60bd132e

Orlandi: The rhoi variables are not used here.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Wed, 07 Jul 2010 14:31:27 +0200
parents f69a5db4ecfc
children f27609bc4831
files viff/orlandi.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/viff/orlandi.py	Wed Jul 07 13:11:58 2010 +0200
+++ b/viff/orlandi.py	Wed Jul 07 14:31:27 2010 +0200
@@ -473,8 +473,8 @@
 
     def _do_arithmetic_op(self, x, c, field, op):
         y = self._convert_public_to_share(c, field)
-        (zi, (rhozi1, rhozi2), Cz) = op((x, y), field)
-        return OrlandiShare(self, field, zi, (rhozi1, rhozi2), Cz)
+        (zi, rhoz, Cz) = op((x, y), field)
+        return OrlandiShare(self, field, zi, rhoz, Cz)
 
     def _minus(self, (x, y), field):
         """Subtraction of share-tuples *x* and *y*.