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 wrap: on
line diff
--- a/viff/passive.py	Thu Feb 19 16:21:59 2009 +0100
+++ b/viff/passive.py	Thu Feb 19 16:22:15 2009 +0100
@@ -138,6 +138,7 @@
         result.addCallback(lambda (a, b): a - b)
         return result
 
+    @profile
     def lin_comb(self, coefficients, shares):
         """Linear combination of shares.