mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-05-13 03:00:24 -04:00
Fix bug in sintbit.
This commit is contained in:
@@ -2821,7 +2821,9 @@ class sintbit(sint):
|
||||
elif util.is_zero(other):
|
||||
return self
|
||||
elif util.is_one(other):
|
||||
return 1
|
||||
res = sintbit()
|
||||
submr(res, cint(1), self)
|
||||
return res
|
||||
else:
|
||||
return NotImplemented
|
||||
|
||||
|
||||
Reference in New Issue
Block a user