Fix option --pass-pol in python3
error due to : python2 => 1 / 2 = 0 python3 => 1 / 2 = 0.5 python3 => 1 // 2 = 0main
parent
179dfef811
commit
38acbbead5
|
@ -9,7 +9,7 @@ def d2b(a):
|
|||
tbin = []
|
||||
while a:
|
||||
tbin.append(a % 2)
|
||||
a /= 2
|
||||
a //= 2
|
||||
|
||||
t2bin = tbin[::-1]
|
||||
if len(t2bin) != 8:
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 2dcf64854b5d111b5ee34b891f7a6480569ab993
|
||||
Subproject commit 2156da6431b278bc60f22cf4b66bd671f7d0a0fe
|
Loading…
Reference in New Issue