summaryrefslogtreecommitdiff
path: root/gr-analog/lib/agc3_cc_impl.cc
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
committerTom Rondeau <tom@trondeau.com>2014-07-07 12:18:00 -0400
commit597b93798a804cde1783d6d2ab53b348d57c44cd (patch)
treeb65e73bb0de634ff5d209b15971ebdabf369a45c /gr-analog/lib/agc3_cc_impl.cc
parent1151e5502ccd440ebd89599cf7e4be4fb5ed8334 (diff)
Removing trailing/extra whitespaces before release.
We should be more careful about letting these into the code in the future. In emacs, we can use (add-hook 'before-save-hook 'delete-trailing-whitespace).
Diffstat (limited to 'gr-analog/lib/agc3_cc_impl.cc')
-rw-r--r--gr-analog/lib/agc3_cc_impl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-analog/lib/agc3_cc_impl.cc b/gr-analog/lib/agc3_cc_impl.cc
index 86da630d8f..fddefd6710 100644
--- a/gr-analog/lib/agc3_cc_impl.cc
+++ b/gr-analog/lib/agc3_cc_impl.cc
@@ -72,12 +72,12 @@ namespace gr {
gr_complex *out = (gr_complex*)output_items[0];
#ifdef __GNUC__
- // Compute a linear average on reset (no expected)
+ // Compute a linear average on reset (no expected)
if(__builtin_expect(d_reset, false)) {
float mags[noutput_items] __attribute__ ((aligned (16)));
volk_32fc_magnitude_32f(mags, &in[0], noutput_items);
-#else
- // Compute a linear average on reset (no expected)
+#else
+ // Compute a linear average on reset (no expected)
if(!d_reset) {
std::vector<float> mags(noutput_items);
volk_32fc_magnitude_32f(&mags[0], &in[0], noutput_items);
@@ -117,7 +117,7 @@ namespace gr {
mag_sq[i] = in[idx].real()*in[idx].real() + in[idx].imag()*in[idx].imag();
}
- // compute inverse square roots
+ // compute inverse square roots
volk_32f_invsqrt_32f(&inv_mag[0], &mag_sq[0], noutput_items/d_iir_update_decim);
// apply updates