commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] r4184 - gnuradio/trunk/gnuradio-core/src/python/gnurad


From: eb
Subject: [Commit-gnuradio] r4184 - gnuradio/trunk/gnuradio-core/src/python/gnuradio/gr
Date: Thu, 21 Dec 2006 20:08:20 -0700 (MST)

Author: eb
Date: 2006-12-21 20:08:20 -0700 (Thu, 21 Dec 2006)
New Revision: 4184

Modified:
   gnuradio/trunk/gnuradio-core/src/python/gnuradio/gr/qa_pll_freqdet.py
Log:
loosen tolerance so that opteron passes (64-bit vs 80-bit FP arith)

Modified: gnuradio/trunk/gnuradio-core/src/python/gnuradio/gr/qa_pll_freqdet.py
===================================================================
--- gnuradio/trunk/gnuradio-core/src/python/gnuradio/gr/qa_pll_freqdet.py       
2006-12-21 23:34:59 UTC (rev 4183)
+++ gnuradio/trunk/gnuradio-core/src/python/gnuradio/gr/qa_pll_freqdet.py       
2006-12-22 03:08:20 UTC (rev 4184)
@@ -155,7 +155,7 @@
         # convert it from normalized frequency to absolute frequency (Hz)
         dst_data = [i*(sampling_freq/(2*math.pi)) for i in dst_data]
 
-        self.assertFloatTuplesAlmostEqual (expected_result, dst_data, 5)
+        self.assertFloatTuplesAlmostEqual (expected_result, dst_data, 4)
 
 if __name__ == '__main__':
     gr_unittest.main ()





reply via email to

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