Changeset 6fee793


Ignore:
Timestamp:
Jul 27, 2012, 7:27:56 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:
7af7c32, e1703b3
Parents:
fc197b0
Message:

interfaces/python/test_fft.py: add an explanation about signed 0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • interfaces/python/test_fft.py

    rfc197b0 r6fee793  
    9090    #self.plot_this ( fftgrain.phas )
    9191    assert_equal ( fftgrain.phas[0], 0)
    92     assert_equal ( abs(fftgrain.phas[1]), 0)
    93     assert_almost_equal (fftgrain.norm[0], impulse, decimal = 6 )
     92    # could be 0 or -0 depending on fft implementation (0 for fftw3, -0 for ooura)
     93    assert_almost_equal ( fftgrain.phas[1], 0)
     94    assert_almost_equal ( fftgrain.norm[0], impulse, decimal = 6 )
    9495
    9596  def test_rdo_before_do(self):
Note: See TracChangeset for help on using the changeset viewer.