changeset 1272:727eab7a4e2a

Fix unit test.
author Marcel Keller <mkeller@cs.au.dk>
date Thu, 08 Oct 2009 15:19:03 +0200
parents 1deee6ab6af3
children 2fccb0bb9508
files viff/active.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/viff/active.py	Thu Oct 08 15:17:10 2009 +0200
+++ b/viff/active.py	Thu Oct 08 15:19:03 2009 +0200
@@ -382,7 +382,7 @@
         result.addCallback(lambda triples: triples[0])
         return result
 
-    def generate_triples(self, field, quantity):
+    def generate_triples(self, field, quantity=None):
         """Generate multiplication triples.
 
         These are random numbers *a*, *b*, and *c* such that ``c =