summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rondeau2012-06-15 11:53:46 -0400
committerTom Rondeau2012-06-15 11:53:46 -0400
commit1e7aae3678b0ce08e71b444225aca794f490ffaf (patch)
treeebe952b7be65f3adaede2f751afa208c4229367d
parent408f44a735ff8e90b3206500b8154b37eb3e65b2 (diff)
downloadgnuradio-1e7aae3678b0ce08e71b444225aca794f490ffaf.tar.gz
gnuradio-1e7aae3678b0ce08e71b444225aca794f490ffaf.tar.bz2
gnuradio-1e7aae3678b0ce08e71b444225aca794f490ffaf.zip
filter: minor coding things.
-rw-r--r--gr-filter/lib/pfb_channelizer_ccf_impl.cc6
-rw-r--r--gr-filter/lib/polyphase_filterbank.cc2
2 files changed, 4 insertions, 4 deletions
diff --git a/gr-filter/lib/pfb_channelizer_ccf_impl.cc b/gr-filter/lib/pfb_channelizer_ccf_impl.cc
index 4e06cbc5f..ca92066f5 100644
--- a/gr-filter/lib/pfb_channelizer_ccf_impl.cc
+++ b/gr-filter/lib/pfb_channelizer_ccf_impl.cc
@@ -81,7 +81,7 @@ namespace gr {
d_output_multiple++;
set_output_multiple(d_output_multiple);
- set_history (d_taps_per_filter+1);
+ set_history(d_taps_per_filter+1);
}
pfb_channelizer_ccf_impl::~pfb_channelizer_ccf_impl()
@@ -95,7 +95,7 @@ namespace gr {
gruel::scoped_lock guard(d_mutex);
polyphase_filterbank::set_taps(taps);
- set_history (d_taps_per_filter+1);
+ set_history(d_taps_per_filter+1);
d_updated = true;
}
@@ -143,7 +143,7 @@ namespace gr {
gr_complex *in = (gr_complex *) input_items[0];
gr_complex *out = (gr_complex *) output_items[0];
- if (d_updated) {
+ if(d_updated) {
d_updated = false;
return 0; // history requirements may have changed.
}
diff --git a/gr-filter/lib/polyphase_filterbank.cc b/gr-filter/lib/polyphase_filterbank.cc
index 9d881d76e..046c23fc0 100644
--- a/gr-filter/lib/polyphase_filterbank.cc
+++ b/gr-filter/lib/polyphase_filterbank.cc
@@ -59,7 +59,7 @@ namespace gr {
}
void
- polyphase_filterbank::set_taps (const std::vector<float> &taps)
+ polyphase_filterbank::set_taps(const std::vector<float> &taps)
{
unsigned int i,j;