Changeset 8e9cb57 for python/tests


Ignore:
Timestamp:
Mar 18, 2013, 4:52:43 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:
9615b03
Parents:
78a42e2
Message:

python/tests/test_specdesc.py: update to latest specdesc.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_specdesc.py

    r78a42e2 r8e9cb57  
    104104        a = arange(c.length, dtype='float32')
    105105        c.norm = a
    106         assert_almost_equal( sum(a * log(1.+ a/1.e-10 ) ) / o(c), 1., decimal=6)
     106        assert_almost_equal( sum(a * log(1.+ a/1.e-1 ) ) / o(c), 1., decimal=6)
    107107
    108108    def test_mkl(self):
     
    112112        a = arange(c.length, dtype='float32')
    113113        c.norm = a
    114         assert_almost_equal( sum(log(1.+ a/1.e-10 ) ) / o(c), 1, decimal=6)
     114        assert_almost_equal( sum(log(1.+ a/1.e-1 ) ) / o(c), 1, decimal=6)
    115115
    116116    def test_specflux(self):
Note: See TracChangeset for help on using the changeset viewer.