summaryrefslogtreecommitdiff
path: root/gr-analog/python/am_demod.py
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2013-03-06 15:14:19 -0500
committerTom Rondeau <trondeau@vt.edu>2013-03-06 15:14:19 -0500
commitcf2c954ba4fc54909515f8550fd55741c9603a11 (patch)
treef3520b072bd7e3f98fbef80052327411d5c32246 /gr-analog/python/am_demod.py
parent2fb54bc604578db99ee788799a7723ed5eddb65a (diff)
core: removed all complex_to_<type> blocks from core; using gr-blocks.
Diffstat (limited to 'gr-analog/python/am_demod.py')
-rw-r--r--gr-analog/python/am_demod.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-analog/python/am_demod.py b/gr-analog/python/am_demod.py
index 64a3909f51..3459e825f4 100644
--- a/gr-analog/python/am_demod.py
+++ b/gr-analog/python/am_demod.py
@@ -43,7 +43,7 @@ class am_demod_cf(gr.hier_block2):
gr.io_signature(1, 1, gr.sizeof_gr_complex), # Input signature
gr.io_signature(1, 1, gr.sizeof_float)) # Input signature
- MAG = gr.complex_to_mag()
+ MAG = blocks.complex_to_mag()
DCR = blocks.add_const_ff(-1.0)
audio_taps = filter.optfir.low_pass(0.5, # Filter gain