diff options
author | karel- <karelparlin@gmail.com> | 2018-04-30 00:28:36 +0300 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2018-07-25 13:01:59 +0200 |
commit | 1a05bb7eca739d94e05c3deef83ea98faf1d5815 (patch) | |
tree | 7853d7ebeb6aac7b8a51aa0df325cbcccb240771 /gr-blocks/grc | |
parent | 46a48d80f7eea28baf1c5933862b32ecae9dc08e (diff) |
gr-blocks: fix fast multiply block to allow vector input
This block ignored the 'Vec Length' parameter and when trying to actually input a vector and set the 'Vec Length' accordingly it'd complain "ValueError: itemsize mismatch: multiply_const_cc0:0 using 8, complex_to_mag_squared0:0 using 8192".
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r-- | gr-blocks/grc/blocks_multiply_const_xx.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-blocks/grc/blocks_multiply_const_xx.xml b/gr-blocks/grc/blocks_multiply_const_xx.xml index db8b5211e6..03d8cf9250 100644 --- a/gr-blocks/grc/blocks_multiply_const_xx.xml +++ b/gr-blocks/grc/blocks_multiply_const_xx.xml @@ -9,7 +9,7 @@ <name>Fast Multiply Const</name> <key>blocks_multiply_const_xx</key> <import>from gnuradio import blocks</import> - <make>blocks.multiply_const_$(type.fcn)($const)</make> + <make>blocks.multiply_const_$(type.fcn)($const, $vlen)</make> <callback>set_k($const)</callback> <param> <name>IO Type</name> |