mirror of
https://github.com/google/liblc3.git
synced 2026-04-20 06:34:49 +00:00
python: remove semicolons
While mostly harmless, random semicolons in Python can be a bit distracting when reading the code, especially when one uses a syntax highlighter that flags them as errors.
This commit is contained in:
committed by
Antoine SOULIER
parent
e4ceb7fa86
commit
7558637303
@@ -102,11 +102,11 @@ def approx_log2():
|
||||
|
||||
def table_db_q16():
|
||||
|
||||
k = 10 * np.log10(2);
|
||||
k = 10 * np.log10(2)
|
||||
|
||||
for i in range(32):
|
||||
a = k * np.log2(np.ldexp(32 + i , -5)) - (i // 16) * (k/2);
|
||||
b = k * np.log2(np.ldexp(32 + i+1, -5)) - (i // 16) * (k/2);
|
||||
a = k * np.log2(np.ldexp(32 + i , -5)) - (i // 16) * (k/2)
|
||||
b = k * np.log2(np.ldexp(32 + i+1, -5)) - (i // 16) * (k/2)
|
||||
|
||||
an = np.ldexp(a, 15) + 0.5
|
||||
bn = np.ldexp(b - a, 15) + 0.5
|
||||
|
||||
Reference in New Issue
Block a user