summaryrefslogtreecommitdiff
path: root/gr-analog/python
diff options
context:
space:
mode:
Diffstat (limited to 'gr-analog/python')
-rw-r--r--gr-analog/python/analog/qa_agc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-analog/python/analog/qa_agc.py b/gr-analog/python/analog/qa_agc.py
index a5a8ea47b..9368dd5d2 100644
--- a/gr-analog/python/analog/qa_agc.py
+++ b/gr-analog/python/analog/qa_agc.py
@@ -454,7 +454,9 @@ class test_agc(gr_unittest.TestCase):
tb = self.tb
sampling_freq = 100
- N = int(5 * sampling_freq)
+ # N must by a multiple of the volk_alignment of the system for this test to work.
+ # For a machine with 512-bit registers, that would be 8 complex-floats.
+ N = int(8 * sampling_freq)
src1 = analog.sig_source_c(sampling_freq, analog.GR_SIN_WAVE,
sampling_freq * 0.10, 100)
dst1 = blocks.vector_sink_c()