discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] accuracy problem?


From: David P. Reed
Subject: [Discuss-gnuradio] accuracy problem?
Date: Wed, 01 Jun 2005 16:12:16 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.6.0.104

I'm trying to install the gnuradio software from CVS on Fedora Core 3 on an AMD64 (x86_64) laptop (and python 2.3). Aside from annoying pathname bugs and quirks with FFTW linking, which I will report separately, I get the following error when testing gnuradio-core, where a unittest fails. Anyone who has a clue why this imprecision might be happening? If I change this one test to check for 5 digits after the decimal point, it works...

Also, has anyone gotten gnuradio to run on x86_64?

======================================================================
FAIL: test_complex_to_arg (__main__.test_complex_ops)
----------------------------------------------------------------------
Traceback (most recent call last):
 File "./qa_complex_to_xxx.py", line 111, in test_complex_to_arg
   self.assertFloatTuplesAlmostEqual (expected_result, actual_result, 6)
File "/gnuradio/gr-build/gnuradio-core/src/python/gnuradio/gr_unittest.py", line 55, in assertFloatTuplesAlmostEqual
   self.assertAlmostEqual (a[i], b[i], places, msg)
File "/usr/lib64/python2.3/unittest.py", line 322, in failUnlessAlmostEqual
   raise self.failureException, \
AssertionError: 2.3561944901923448 != 2.3561935424804688 within 6 places






reply via email to

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