summaryrefslogtreecommitdiff
path: root/gr-digital/python
diff options
context:
space:
mode:
Diffstat (limited to 'gr-digital/python')
-rw-r--r--gr-digital/python/qa_costas_loop_cc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-digital/python/qa_costas_loop_cc.py b/gr-digital/python/qa_costas_loop_cc.py
index 0a1f4a97d..2d8ce6726 100644
--- a/gr-digital/python/qa_costas_loop_cc.py
+++ b/gr-digital/python/qa_costas_loop_cc.py
@@ -135,6 +135,7 @@ class test_digital(gr_unittest.TestCase):
data = [2*rot*const[d] for d in data]
N = 40 # settling time
+ data = [rot1*const[d] for d in data] # rotate to align with sync
expected_result = data[N:]
rot = cmath.exp(0.1j) # some small rotation
@@ -148,7 +149,7 @@ class test_digital(gr_unittest.TestCase):
dst_data = self.snk.data()[N:]
- # generously compare results; the loop will converge near to, but
+ # generously compare results; the loop will converge near to, but
# not exactly on, the target data
self.assertComplexTuplesAlmostEqual (expected_result, dst_data, 2)