Changeset 5039244 for python


Ignore:
Timestamp:
Jun 21, 2019, 2:03:14 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/crepe, feature/crepe_org, feature/timestretch, fix/ffmpeg5, master
Children:
f912e90
Parents:
c60e048
Message:

[py] relax precision for 32bit systems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/tests/test_hztomel.py

    rc60e048 r5039244  
    2020        assert_equal(hztomel(200.), 3.)
    2121        assert_almost_equal(hztomel(1000.), 15)
    22         assert_almost_equal(hztomel(6400), 42)
    23         assert_almost_equal(hztomel(40960), 69)
     22        assert_almost_equal(hztomel(6400), 42, decimal=5)
     23        assert_almost_equal(hztomel(40960), 69, decimal=5)
    2424
    2525        for m in np.linspace(0, 1000, 100):
Note: See TracChangeset for help on using the changeset viewer.