viff

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 diff
     1.1 --- a/viff/orlandi.py	Wed Jul 07 13:11:58 2010 +0200
     1.2 +++ b/viff/orlandi.py	Wed Jul 07 14:31:27 2010 +0200
     1.3 @@ -473,8 +473,8 @@
     1.4  
     1.5      def _do_arithmetic_op(self, x, c, field, op):
     1.6          y = self._convert_public_to_share(c, field)
     1.7 -        (zi, (rhozi1, rhozi2), Cz) = op((x, y), field)
     1.8 -        return OrlandiShare(self, field, zi, (rhozi1, rhozi2), Cz)
     1.9 +        (zi, rhoz, Cz) = op((x, y), field)
    1.10 +        return OrlandiShare(self, field, zi, rhoz, Cz)
    1.11  
    1.12      def _minus(self, (x, y), field):
    1.13          """Subtraction of share-tuples *x* and *y*.