summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/gengen
diff options
context:
space:
mode:
authorn4hy2008-04-11 23:51:39 +0000
committern4hy2008-04-11 23:51:39 +0000
commit3dbdc7d22db454532a8c0112be8c203ca5121204 (patch)
treed0babedbd76333596b7439db5a554d353469813d /gnuradio-core/src/lib/gengen
parentb91ae9949255f403b186fe5e6e8d0f3300f33cd0 (diff)
downloadgnuradio-3dbdc7d22db454532a8c0112be8c203ca5121204.tar.gz
gnuradio-3dbdc7d22db454532a8c0112be8c203ca5121204.tar.bz2
gnuradio-3dbdc7d22db454532a8c0112be8c203ca5121204.zip
bug in gr_argmax_XX.cc.t fixed
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8188 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-core/src/lib/gengen')
-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;