summaryrefslogtreecommitdiff
path: root/gr-digital/python/generic_mod_demod.py
diff options
context:
space:
mode:
authorTom Rondeau2011-09-27 12:55:26 -0400
committerTom Rondeau2011-09-27 12:57:31 -0400
commit12b5f9c37eebe694d34e0d3976393dad1e0f99d5 (patch)
treecead226639582fe436287d4873eb0f2ae3b0ee49 /gr-digital/python/generic_mod_demod.py
parent4fec8eba2eb3d362319c8e09bf370edaa10cd1b9 (diff)
downloadgnuradio-12b5f9c37eebe694d34e0d3976393dad1e0f99d5.tar.gz
gnuradio-12b5f9c37eebe694d34e0d3976393dad1e0f99d5.tar.bz2
gnuradio-12b5f9c37eebe694d34e0d3976393dad1e0f99d5.zip
digital: bug fixes for digital mods. Adding fist pass at a UHD benchmark transit chain. Automatically selects the right samples/symbol and sample rate to achieve requested bitrate.
Diffstat (limited to 'gr-digital/python/generic_mod_demod.py')
-rw-r--r--gr-digital/python/generic_mod_demod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-digital/python/generic_mod_demod.py b/gr-digital/python/generic_mod_demod.py
index b1986512f..7d98c87da 100644
--- a/gr-digital/python/generic_mod_demod.py
+++ b/gr-digital/python/generic_mod_demod.py
@@ -112,7 +112,7 @@ class generic_mod(gr.hier_block2):
self._differential = differential
if self._samples_per_symbol < 2:
- raise TypeError, ("sbp must be >= 2, is %d" % self._samples_per_symbol)
+ raise TypeError, ("sbp must be >= 2, is %f" % self._samples_per_symbol)
arity = pow(2,self.bits_per_symbol())