From a8d28ad5338a5044acbbc5c84abb20b7365c9afa Mon Sep 17 00:00:00 2001
From: Johnathan Corgan <johnathan@corganlabs.com>
Date: Fri, 30 May 2014 10:29:05 -0700
Subject: trellis: fix typos in examples

---
 gr-trellis/examples/python/test_cpm.py          | 2 +-
 gr-trellis/examples/python/test_tcm_parallel.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'gr-trellis/examples/python')

diff --git a/gr-trellis/examples/python/test_cpm.py b/gr-trellis/examples/python/test_cpm.py
index 99b75a7dd..3f5cfc458 100755
--- a/gr-trellis/examples/python/test_cpm.py
+++ b/gr-trellis/examples/python/test_cpm.py
@@ -101,7 +101,7 @@ def run_test(seed,blocksize):
 	blocks_add_vxx_0 = blocks.add_vcc(1)
 	analog_noise_source_x_0 = analog.noise_source_c(analog.GR_GAUSSIAN, (N0/2.0)**0.5, -long(seed))
 
-	blokcs_multiply_vxx_0 = blocks.multiply_vcc(1)
+	blocks_multiply_vxx_0 = blocks.multiply_vcc(1)
 	analog_sig_source_x_0 = analog.sig_source_c(Q, analog.GR_COS_WAVE, -f0T, 1, 0)
         # only works for N=2, do it manually for N>2...
 	filter_fir_filter_xxx_0_0 = filter.fir_filter_ccc(Q, MF[0].conjugate())
diff --git a/gr-trellis/examples/python/test_tcm_parallel.py b/gr-trellis/examples/python/test_tcm_parallel.py
index e4456890f..b30c80811 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()
 
-- 
cgit v1.2.3