diff options
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r-- | gnuradio-core/src/lib/gengen/gr_max_XX.cc.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnuradio-core/src/lib/gengen/gr_max_XX.cc.t b/gnuradio-core/src/lib/gengen/gr_max_XX.cc.t index 26c44f44e..ee88261f9 100644 --- a/gnuradio-core/src/lib/gengen/gr_max_XX.cc.t +++ b/gnuradio-core/src/lib/gengen/gr_max_XX.cc.t @@ -54,7 +54,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]; for (int j=0; j < (int) d_vlen; j++ ) { for (int k=0; k<ninputs; k++) { |