Changeset 3cb2a52 for python


Ignore:
Timestamp:
Sep 15, 2018, 4:54:18 PM (6 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
Children:
ad3770f
Parents:
8b69453
git-author:
Paul Brossier <piem@piem.org> (09/15/18 16:50:43)
git-committer:
Paul Brossier <piem@piem.org> (09/15/18 16:54:18)
Message:

python/tests/test_dct.py: reduce precision for dct ramp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_dct.py

    r8b69453 r3cb2a52  
    3232        a_in = np.arange(8).astype(aubio.float_type)
    3333        a_expected = aubio.fvec(precomputed_arange)
    34         assert_almost_equal(a_dct(a_in), a_expected, decimal=6)
     34        assert_almost_equal(a_dct(a_in), a_expected, decimal=5)
    3535
    3636    def test_some_ones(self):
Note: See TracChangeset for help on using the changeset viewer.