Skip to content

Commit 3f9e1e7

Browse files
committed
Remove unused 'steps' variable.
1 parent d8b044c commit 3f9e1e7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Tools/scripts/long_conv_tables.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ def format_array(name, values):
1919

2020

2121
def conv_tables(long_bits):
22-
steps = 0
2322
PyLong_BASE = 1 << long_bits
2423
log_base_BASE = [0.0] * 37
2524
convmultmax_base = [0] * 37
@@ -29,7 +28,6 @@ def conv_tables(long_bits):
2928
i = 1
3029
log_base_BASE[base] = math.log(float(base)) / math.log(PyLong_BASE)
3130
while True:
32-
steps += 1
3331
next = convmax * base
3432
if next > PyLong_BASE:
3533
break
@@ -38,7 +36,6 @@ def conv_tables(long_bits):
3836
convmultmax_base[base] = convmax
3937
assert i > 0
4038
convwidth_base[base] = i
41-
# print('steps', steps)
4239
return '\n'.join(
4340
[
4441
format_array('static const double log_base_BASE[37]', log_base_BASE),

0 commit comments

Comments
 (0)