summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/complex_to_mag_squared_impl.cc
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2013-07-24 12:53:26 -0400
committerTom Rondeau <tom@trondeau.com>2013-07-24 12:53:26 -0400
commit9afbfef48de723d08d15e44d1bbbbf3e0d4ff522 (patch)
treed8322afa48c56960ded1805d113a01bdd87cdf34 /gr-blocks/lib/complex_to_mag_squared_impl.cc
parente6da0697c947b6c2e8def3ef1f75706f11ae9aa3 (diff)
blocks: moved type conversions to use Volk dispatchers.
Diffstat (limited to 'gr-blocks/lib/complex_to_mag_squared_impl.cc')
-rw-r--r--gr-blocks/lib/complex_to_mag_squared_impl.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/gr-blocks/lib/complex_to_mag_squared_impl.cc b/gr-blocks/lib/complex_to_mag_squared_impl.cc
index 513527c25a..5e3fedc87c 100644
--- a/gr-blocks/lib/complex_to_mag_squared_impl.cc
+++ b/gr-blocks/lib/complex_to_mag_squared_impl.cc
@@ -56,12 +56,7 @@ namespace gr {
float *out = (float *) output_items[0];
int noi = noutput_items * d_vlen;
- if(is_unaligned()) {
- volk_32fc_magnitude_squared_32f_u(out, in, noi);
- }
- else {
- volk_32fc_magnitude_squared_32f_a(out, in, noi);
- }
+ volk_32fc_magnitude_squared_32f(out, in, noi);
return noutput_items;
}