/rev/727eab7a4e2a
changeset: 1272:727eab7a4e2a
user: Marcel Keller <[email protected]>
date: Thu Oct 08 15:19:03 2009 +0200
summary: Fix unit test.
diffstat:
viff/active.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 1deee6ab6af3 -r 727eab7a4e2a viff/active.py
--- 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 =
_______________________________________________
viff-commits mailing list
[email protected]
http://lists.viff.dk/listinfo.cgi/viff-commits-viff.dk