summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnuradio-core/src/lib/gengen/gr_argmax_XX.cc.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/gengen/gr_argmax_XX.cc.t b/gnuradio-core/src/lib/gengen/gr_argmax_XX.cc.t
index 283c81205..f8ff821dc 100644
--- a/gnuradio-core/src/lib/gengen/gr_argmax_XX.cc.t
+++ b/gnuradio-core/src/lib/gengen/gr_argmax_XX.cc.t
@@ -57,7 +57,7 @@ int
for (int i=0; i<noutput_items; i++) {
- @I_TYPE@ max = 0;
+ @I_TYPE@ max = (@I_TYPE@ *) input_items[0])[i*d_vlen];
int x = 0;
int y = 0;