viff

changeset 1020:fd85155f27ab

Updated to match new API.
author Martin Geisler <mg@daimi.au.dk>
date Thu, 13 Nov 2008 17:43:42 +0100
parents d839791e2487
children b0f0b8e8eff1
files apps/divide.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/apps/divide.py	Thu Nov 13 17:42:04 2008 +0100
     1.2 +++ b/apps/divide.py	Thu Nov 13 17:43:42 2008 +0100
     1.3 @@ -35,7 +35,7 @@
     1.4  from twisted.internet import reactor
     1.5  
     1.6  from viff.field import GF
     1.7 -from viff.runtime import Runtime, create_runtime
     1.8 +from viff.runtime import BasicRuntime, create_runtime
     1.9  from viff.runtime import make_runtime_class
    1.10  from viff.comparison import ComparisonToft07Mixin
    1.11  from viff.config import load_config
    1.12 @@ -83,7 +83,7 @@
    1.13  
    1.14      parser.set_defaults(modulus=2**65, number=None)
    1.15  
    1.16 -    Runtime.add_options(parser)
    1.17 +    BasicRuntime.add_options(parser)
    1.18  
    1.19      options, args = parser.parse_args()
    1.20      if len(args)==2: