viff

changeset 1141:4bacbff2e79f

Added profile decorator to lin_comb().
author Marcel Keller <mkeller@cs.au.dk>
date Thu, 19 Feb 2009 16:22:15 +0100
parents cbdcba8630c5
children 73b8246fbe5b
files viff/passive.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/viff/passive.py	Thu Feb 19 16:21:59 2009 +0100
     1.2 +++ b/viff/passive.py	Thu Feb 19 16:22:15 2009 +0100
     1.3 @@ -138,6 +138,7 @@
     1.4          result.addCallback(lambda (a, b): a - b)
     1.5          return result
     1.6  
     1.7 +    @profile
     1.8      def lin_comb(self, coefficients, shares):
     1.9          """Linear combination of shares.
    1.10