Fix bug in sintbit.

This commit is contained in:
Marcel Keller
2022-08-06 12:47:36 +10:00
parent c4c167fac7
commit a1658819cd

View File

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