diff options
Diffstat (limited to 'gr-digital')
-rwxr-xr-x | gr-digital/examples/narrowband/digital_bert_rx.py | 2 | ||||
-rwxr-xr-x | gr-digital/python/qa_fll_band_edge.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gr-digital/examples/narrowband/digital_bert_rx.py b/gr-digital/examples/narrowband/digital_bert_rx.py index cc12b71b2..ab7e988eb 100755 --- a/gr-digital/examples/narrowband/digital_bert_rx.py +++ b/gr-digital/examples/narrowband/digital_bert_rx.py @@ -70,7 +70,7 @@ class bert_receiver(gr.hier_block2): freq_bw, timing_bw, phase_bw, verbose, log) - self._symbol_rate = self._bitrate * self._demod.bits_per_symbol() + self._symbol_rate = self._bitrate / self._demod.bits_per_symbol() self._sample_rate = self._symbol_rate * samples_per_symbol # Add an SNR probe on the demodulated constellation diff --git a/gr-digital/python/qa_fll_band_edge.py b/gr-digital/python/qa_fll_band_edge.py index 7d89bc9ea..9e4ca079b 100755 --- a/gr-digital/python/qa_fll_band_edge.py +++ b/gr-digital/python/qa_fll_band_edge.py @@ -78,7 +78,7 @@ class test_fll_band_edge_cc(gr_unittest.TestCase): dst_data = self.vsnk_frq.data()[N:] expected_result = len(dst_data)* [-0.20,] - self.assertComplexTuplesAlmostEqual (expected_result, dst_data, 4) + self.assertFloatTuplesAlmostEqual (expected_result, dst_data, 4) if __name__ == '__main__': gr_unittest.run(test_fll_band_edge_cc, "test_fll_band_edge_cc.xml") |