summaryrefslogtreecommitdiff
path: root/gr-blocks/lib/interleaved_short_to_complex_impl.cc
diff options
context:
space:
mode:
authorTom Rondeau <tom@trondeau.com>2014-07-07 12:27:52 -0400
committerTom Rondeau <tom@trondeau.com>2014-07-07 12:27:52 -0400
commit78f56e07e24e0820a73ba2b24f4b8293bb3b3393 (patch)
treef55180813bff624e0d5b8e08d104bbb816b7fbec /gr-blocks/lib/interleaved_short_to_complex_impl.cc
parentbbfc759914da80214fabc70fbbed1edaf39f9e4b (diff)
Removing trailing/extra whitespaces before release (for master).
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-blocks/lib/interleaved_short_to_complex_impl.cc')
-rw-r--r--gr-blocks/lib/interleaved_short_to_complex_impl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/lib/interleaved_short_to_complex_impl.cc b/gr-blocks/lib/interleaved_short_to_complex_impl.cc
index bb1e229bf1..6c7108b550 100644
--- a/gr-blocks/lib/interleaved_short_to_complex_impl.cc
+++ b/gr-blocks/lib/interleaved_short_to_complex_impl.cc
@@ -44,7 +44,7 @@ namespace gr {
d_vector_input(vector_input), d_swap(swap)
{
}
-
+
void interleaved_short_to_complex_impl::set_swap(bool swap)
{
d_swap = swap;
@@ -57,9 +57,9 @@ namespace gr {
{
const short *in = (const short *) input_items[0];
gr_complex *out = (gr_complex *) output_items[0];
-
+
interleaved_short_array_to_complex (in, out, 2 * noutput_items);
-
+
if (d_swap) {
float* p = (float*)output_items[0];
for (int i = 0; i < noutput_items; ++i) {
@@ -68,7 +68,7 @@ namespace gr {
p[2*i+0] = f;
}
}
-
+
return noutput_items;
}