discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] assertion error beyond 4096 output items


From: Martin Braun
Subject: Re: [Discuss-gnuradio] assertion error beyond 4096 output items
Date: Wed, 28 May 2014 11:13:59 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]