On 28.05.2014 09:45, Karan Talasila wrote:
Hi we have written a c++ block using out of tree modules which uses a sync block that outputs same no of items as input items given. we have written a python test file where the inputs and outputs are complex floats. The test code is running well until 4096 items. But when the output items size is greater than or equal to 8192, ctest shows an assertion error which says-10+5j !=10+5j beyond 7 places.
This looks like floating point quantization errors. Show us your QA, and make sure you're using the assertFloatTuplesAlmostEqual (not sure if that's the right name) call.
M _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
