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 (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
3131 a_dct = aubio.dct(8)
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):
3737 """ 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