Changeset e6b2a0c for tests


Ignore:
Timestamp:
Oct 8, 2009, 3:11:30 AM (15 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:
874ed55
Parents:
66760af
Message:

tests/python/src/spectral/fft.py: remove abs, test passes in double precision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/python/src/spectral/fft.py

    r66760af re6b2a0c  
    9393    self.assertCloseEnough((buf_size-1)*some_constant, cvec_read_norm(fftgrain, 0, 0))
    9494    for index in range(1,buf_size/2+1):
    95        self.assertCloseEnough(some_constant, abs(cvec_read_norm(fftgrain, 0, index)))
     95       self.assertCloseEnough(some_constant, cvec_read_norm(fftgrain, 0, index))
    9696    self.assertCloseEnough(0., cvec_read_norm(fftgrain, 0, buf_size/2+1))
    9797
Note: See TracChangeset for help on using the changeset viewer.