mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-10 14:08:09 -05:00
Fix bug in fixed-point input in binary circuits.
This commit is contained in:
@@ -1624,7 +1624,7 @@ class sbitfixvec(_fix, _vec, _binary):
|
||||
:param: player (int)
|
||||
"""
|
||||
return cls._new(cls.int_type.get_input_from(player, size=size,
|
||||
f=sbitfix.f))
|
||||
f=cls.f))
|
||||
def __init__(self, value=None, *args, **kwargs):
|
||||
if isinstance(value, (list, tuple)):
|
||||
self.v = self.int_type.from_vec(sbitvec([x.v for x in value]))
|
||||
|
||||
Reference in New Issue
Block a user