From 3cb2a52afc6c3cd85b1fdcb9dddbd128edfb9f15 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 15 Sep 2018 16:50:43 +0200 Subject: [PATCH 1/1] python/tests/test_dct.py: reduce precision for dct ramp --- python/tests/test_dct.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/tests/test_dct.py b/python/tests/test_dct.py index fbcbde87..0c990f9f 100755 --- a/python/tests/test_dct.py +++ b/python/tests/test_dct.py @@ -31,7 +31,7 @@ class aubio_dct(TestCase): 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 """ -- 2.11.0