ref: 2f4d9b70b4e49a7bf41139abb4f09fbf4158a58b
parent: a2ab20a09888a88a7b58838474c13a29fa7188a7
author: Paul Brossier <piem@piem.org>
date: Sat May 14 01:27:05 EDT 2016
python/tests/test_fft.py: avoid VisibleDeprecationWarning
--- a/python/tests/test_fft.py
+++ b/python/tests/test_fft.py
@@ -37,7 +37,7 @@
from random import random
from math import floor
win_s = 256
- i = floor(random()*win_s)
+ i = int(floor(random()*win_s))
impulse = pi * random()
f = fft(win_s)
timegrain = fvec(win_s)