shithub: aubio

Download patch

ref: 3cb2a52afc6c3cd85b1fdcb9dddbd128edfb9f15
parent: 8b6945327c4adc0fb58be991162b39621fa17eda
author: Paul Brossier <piem@piem.org>
date: Sat Sep 15 12:50:43 EDT 2018

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

--- a/python/tests/test_dct.py
+++ b/python/tests/test_dct.py
@@ -31,7 +31,7 @@
         a_dct = aubio.dct(8)
         a_in = np.arange(8).astype(aubio.float_type)
         a_expected = aubio.fvec(precomputed_arange)
-        assert_almost_equal(a_dct(a_in), a_expected, decimal=6)
+        assert_almost_equal(a_dct(a_in), a_expected, decimal=5)
 
     def test_some_ones(self):
         """ test that dct(somevector) is computed correctly """