summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib
diff options
context:
space:
mode:
authorn4hy2008-04-11 23:33:53 +0000
committern4hy2008-04-11 23:33:53 +0000
commitb91ae9949255f403b186fe5e6e8d0f3300f33cd0 (patch)
tree4280619aa33770371473516d81a42057f002c33a /gnuradio-core/src/lib
parentc989df7703fb0c2869dc1de7e18df311e2bf626a (diff)
downloadgnuradio-b91ae9949255f403b186fe5e6e8d0f3300f33cd0.tar.gz
gnuradio-b91ae9949255f403b186fe5e6e8d0f3300f33cd0.tar.bz2
gnuradio-b91ae9949255f403b186fe5e6e8d0f3300f33cd0.zip
fixing bug in gr_max_XX.cc.t and modifying qa_max.py to test fix
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8187 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib')
-rw-r--r--gnuradio-core/src/lib/gengen/gr_max_XX.cc.t2
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++) {