X-Git-Url: https://git.gag.com/?a=blobdiff_plain;ds=sidebyside;f=gnuradio-core%2Fsrc%2Flib%2Ffilter%2Fqa_gr_fir_fff.cc;h=b921223ed96df2a6fc5b74822bf48ae95bfaed0b;hb=ea29b08aeb54227e6628f655ccfdb96fe4d8c378;hp=abb2caeac5ffea87a920fc3a5b32a229f54640fa;hpb=09a1e803a9e6587c78d20cdf16891e5295874668;p=debian%2Fgnuradio diff --git a/gnuradio-core/src/lib/filter/qa_gr_fir_fff.cc b/gnuradio-core/src/lib/filter/qa_gr_fir_fff.cc index abb2caea..b921223e 100644 --- a/gnuradio-core/src/lib/filter/qa_gr_fir_fff.cc +++ b/gnuradio-core/src/lib/filter/qa_gr_fir_fff.cc @@ -32,6 +32,7 @@ #include #include #include +#include using std::vector; @@ -142,7 +143,7 @@ ref_dotprod (const i_type input[], const tap_type taps[], int ntaps) static void test_random_io (fir_maker_t maker) { - const int MAX_TAPS = 9; + const int MAX_TAPS = 32; const int OUTPUT_LEN = 17; const int INPUT_LEN = MAX_TAPS + OUTPUT_LEN; @@ -186,7 +187,7 @@ test_random_io (fir_maker_t maker) for (int o = 0; o < ol; o++){ CPPUNIT_ASSERT_DOUBLES_EQUAL (expected_output[o], actual_output[o], - fabs (expected_output[o]) * 1e-4); + fabs (expected_output[o]) * 9e-3); } delete f1;