[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/01: digital: fix index type for corr_est
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/01: digital: fix index type for corr_est's volk call |
Date: |
Wed, 15 Jun 2016 22:49:04 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch packet3
in repository gnuradio.
commit 191752c4f079d588f2d684c2cc5956c2427b8ae8
Author: Nathan West <address@hidden>
Date: Wed Jun 15 13:56:57 2016 -0400
digital: fix index type for corr_est's volk call
---
gr-digital/lib/corr_est_cc_impl.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gr-digital/lib/corr_est_cc_impl.cc
b/gr-digital/lib/corr_est_cc_impl.cc
index dfcd966..778c706 100644
--- a/gr-digital/lib/corr_est_cc_impl.cc
+++ b/gr-digital/lib/corr_est_cc_impl.cc
@@ -291,7 +291,7 @@ namespace gr {
// Estimated scaling factor for the input stream to normalize
// the output to +/-1.
- uint32_t maxi;
+ uint16_t maxi;
volk_32fc_index_max_16u(&maxi, (gr_complex*)in, noutput_items);
d_scale = 1 / std::abs(in[maxi]);