data61 / MP-SPDZ

Versatile framework for multi-party computation
Other
944 stars 280 forks source link

Fix: compile error from `floatingpoint.py` #1474

Closed enricobottazzi closed 3 months ago

enricobottazzi commented 3 months ago

As I was trying to compile my circuit using the replicated-ring-party protocol I run into this error

a = sinf, k = 63, kappa = None

    @instructions_base.ret_cisc
    def EQZ(a, k, kappa):
        prog = program.Program.prog
        if prog.use_split():
>           from GC.types import sbitvec
E           ModuleNotFoundError: No module named 'GC.types'

MP-SPDZ/Compiler/floatingpoint.py:57: ModuleNotFoundError

The PR fixes the error

CLAassistant commented 3 months ago

CLA assistant check
All committers have signed the CLA.

mkskeller commented 3 months ago

Thank you