Fix bug in fixed-point input in binary circuits.

This commit is contained in:
Marcel Keller
2025-12-04 10:40:24 +11:00
parent fa49097233
commit 70fb30c4d5

View File

@@ -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]))