summaryrefslogtreecommitdiff
path: root/gr-trellis/examples/python/test_tcm_parallel.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2014-05-30 10:29:15 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2014-05-30 10:29:15 -0700
commit34ee3b7d45678dfcca221d03ca6d796a46e41288 (patch)
tree54c4f1d3e7dc5c3f52eab51cc556829da1c07be0 /gr-trellis/examples/python/test_tcm_parallel.py
parentad799cfe7f8361b5eb415e296d0fde2ab77d6494 (diff)
parenta8d28ad5338a5044acbbc5c84abb20b7365c9afa (diff)
Merge branch 'maint'
Diffstat (limited to 'gr-trellis/examples/python/test_tcm_parallel.py')
-rwxr-xr-xgr-trellis/examples/python/test_tcm_parallel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-trellis/examples/python/test_tcm_parallel.py b/gr-trellis/examples/python/test_tcm_parallel.py
index e4456890f0..b30c80811f 100755
--- a/gr-trellis/examples/python/test_tcm_parallel.py
+++ b/gr-trellis/examples/python/test_tcm_parallel.py
@@ -36,7 +36,7 @@ def run_test (f,Kb,bitspersymbol,K,dimensionality,constellation,N0,seed,P):
# RX
metrics = trellis.metrics_f(f.O(),dimensionality,constellation,digital.TRELLIS_EUCLIDEAN) # data preprocessing to generate metrics for Viterbi
va = trellis.viterbi_s(f,K,0,-1) # Put -1 if the Initial/Final states are not set.
- p2s = block.streams_to_stream(gr.sizeof_short,P) # parallel to serial
+ p2s = blocks.streams_to_stream(gr.sizeof_short,P) # parallel to serial
fsmi2s=blocks.unpacked_to_packed_ss(bitspersymbol,gr.GR_MSB_FIRST) # pack FSM input symbols to shorts
dst = blocks.check_lfsr_32k_s()