History

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

Paul Brossier committed 8 years ago

Commit 3cb2a521 parent 8b694531 file · +1 −1Browse files

Showing the changes to python/tests (1 of 1 file). Show all

Unified · Split

python/tests/test_dct.py+1−1
@@ -31,7 +31,7 @@ class aubio_dct(TestCase): · 30 unmodified lines
31 a_dct = aubio.dct(8)31 a_dct = aubio.dct(8)
32 a_in = np.arange(8).astype(aubio.float_type)32 a_in = np.arange(8).astype(aubio.float_type)
33 a_expected = aubio.fvec(precomputed_arange)33 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)
35 35
36 def test_some_ones(self):36 def test_some_ones(self):
37 """ test that dct(somevector) is computed correctly """37 """ test that dct(somevector) is computed correctly """

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t