Changeset 299c2b0 for interfaces


Ignore:
Timestamp:
Jul 11, 2012, 10:41:22 PM (12 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:
195b424
Parents:
4afa448e
Message:

test_fft.py: phase can be 0 or -0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • interfaces/python/test_fft.py

    r4afa448e r299c2b0  
    8888    #self.plot_this ( fftgrain.phas )
    8989    assert_equal ( fftgrain.phas[0], 0)
    90     assert_equal ( fftgrain.phas[1], 0)
     90    assert_equal ( abs(fftgrain.phas[1]), 0)
    9191    assert_almost_equal (fftgrain.norm[0], impulse, decimal = 6 )
    9292
Note: See TracChangeset for help on using the changeset viewer.