Minor code clean-up.
This commit is contained in:
parent
29655df11d
commit
d69755d1a3
|
@ -261,8 +261,8 @@ keep_top_bit(Py_ssize_t n)
|
|||
int i = 0;
|
||||
|
||||
while (n > 1) {
|
||||
i += 1;
|
||||
n >>= 1;
|
||||
i++;
|
||||
}
|
||||
return n << i;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue