From 1a05bb7eca739d94e05c3deef83ea98faf1d5815 Mon Sep 17 00:00:00 2001
From: karel- <karelparlin@gmail.com>
Date: Mon, 30 Apr 2018 00:28:36 +0300
Subject: 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".
---
 gr-blocks/grc/blocks_multiply_const_xx.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'gr-blocks/grc')

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>
-- 
cgit v1.2.3