viff

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 diff
     1.1 --- a/viff/active.py	Thu Oct 08 15:17:10 2009 +0200
     1.2 +++ b/viff/active.py	Thu Oct 08 15:19:03 2009 +0200
     1.3 @@ -382,7 +382,7 @@
     1.4          result.addCallback(lambda triples: triples[0])
     1.5          return result
     1.6  
     1.7 -    def generate_triples(self, field, quantity):
     1.8 +    def generate_triples(self, field, quantity=None):
     1.9          """Generate multiplication triples.
    1.10  
    1.11          These are random numbers *a*, *b*, and *c* such that ``c =