Changeset 2f4d9b7 for python


Ignore:
Timestamp:
May 14, 2016, 5:27:05 AM (9 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
aba0279
Parents:
a2ab20a
Message:

python/tests/test_fft.py: avoid VisibleDeprecationWarning?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_fft.py

    ra2ab20a r2f4d9b7  
    3838        from math import floor
    3939        win_s = 256
    40         i = floor(random()*win_s)
     40        i = int(floor(random()*win_s))
    4141        impulse = pi * random()
    4242        f = fft(win_s)
Note: See TracChangeset for help on using the changeset viewer.