summaryrefslogtreecommitdiff
path: root/gr-fec/python/fec/extended_encoder.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-fec/python/fec/extended_encoder.py')
-rw-r--r--gr-fec/python/fec/extended_encoder.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/gr-fec/python/fec/extended_encoder.py b/gr-fec/python/fec/extended_encoder.py
index 0e4bc0901f..b2dcc26b13 100644
--- a/gr-fec/python/fec/extended_encoder.py
+++ b/gr-fec/python/fec/extended_encoder.py
@@ -49,8 +49,7 @@ class extended_encoder(gr.hier_block2):
gr.sizeof_char))
if self.puncpat != '11':
- self.blocks.append(fec.puncture_bb(0, read_bitlist(puncpat),
- puncpat.count('0'), len(puncpat)))
+ self.blocks.append(fec.puncture_bb(len(puncpat), read_bitlist(puncpat), 0))
# Connect the input to the encoder and the output to the
# puncture if used or the encoder if not.
@@ -61,4 +60,3 @@ class extended_encoder(gr.hier_block2):
# the encoder.
for i in range(len(self.blocks) - 1):
self.connect((self.blocks[i], 0), (self.blocks[i+1], 0));
-