[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 07/11: filter: fixed an issue with filter d
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 07/11: filter: fixed an issue with filter delays for interp and rational_resampler filters. |
Date: |
Thu, 9 Jan 2014 21:52:40 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch maint
in repository gnuradio.
commit 021f728072cefa5dbc19e42f5b2a557bafeadcc8
Author: Tom Rondeau <address@hidden>
Date: Mon Jan 6 12:16:42 2014 -0500
filter: fixed an issue with filter delays for interp and rational_resampler
filters.
---
gr-filter/lib/interp_fir_filter_XXX_impl.cc.t | 2 +-
gr-filter/lib/rational_resampler_base_XXX_impl.cc.t | 2 +-
gr-filter/python/filter/qa_interp_fir_filter.py | 2 +-
gr-filter/python/filter/qa_rational_resampler.py | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/gr-filter/lib/interp_fir_filter_XXX_impl.cc.t
b/gr-filter/lib/interp_fir_filter_XXX_impl.cc.t
index d9ba509..1a3a49e 100644
--- a/gr-filter/lib/interp_fir_filter_XXX_impl.cc.t
+++ b/gr-filter/lib/interp_fir_filter_XXX_impl.cc.t
@@ -86,7 +86,7 @@ namespace gr {
if(n > 0) {
n = interpolation() - n;
while(n-- > 0) {
- d_new_taps.insert(d_new_taps.begin(), 0);
+ d_new_taps.insert(d_new_taps.end(), 0);
}
}
diff --git a/gr-filter/lib/rational_resampler_base_XXX_impl.cc.t
b/gr-filter/lib/rational_resampler_base_XXX_impl.cc.t
index 29f4e11..755b267 100644
--- a/gr-filter/lib/rational_resampler_base_XXX_impl.cc.t
+++ b/gr-filter/lib/rational_resampler_base_XXX_impl.cc.t
@@ -93,7 +93,7 @@ namespace gr {
if(n > 0) {
n = interpolation() - n;
while(n-- > 0) {
- d_new_taps.insert(d_new_taps.begin(), 0);
+ d_new_taps.insert(d_new_taps.end(), 0);
}
}
diff --git a/gr-filter/python/filter/qa_interp_fir_filter.py
b/gr-filter/python/filter/qa_interp_fir_filter.py
index 089d083..536ab1b 100755
--- a/gr-filter/python/filter/qa_interp_fir_filter.py
+++ b/gr-filter/python/filter/qa_interp_fir_filter.py
@@ -36,7 +36,7 @@ class test_interp_fir_filter(gr_unittest.TestCase):
taps = [1, 10, 100, 1000, 10000]
src_data = (0, 2, 3, 5, 7, 11, 13, 17)
interpolation = 3
- xr = (0,0,0,0,
+ xr = (0,0,0,
2,20,200,2003,20030,
300,3005,30050,
500,5007,50070,
diff --git a/gr-filter/python/filter/qa_rational_resampler.py
b/gr-filter/python/filter/qa_rational_resampler.py
index 3dbe636..a03673d 100755
--- a/gr-filter/python/filter/qa_rational_resampler.py
+++ b/gr-filter/python/filter/qa_rational_resampler.py
@@ -98,13 +98,13 @@ class test_rational_resampler (gr_unittest.TestCase):
taps = [1, 10, 100, 1000, 10000]
src_data = (0, 2, 3, 5, 7, 11, 13, 17)
interpolation = 3
- xr = (0,2,20,200,2003,20030,
+ xr = (2,20,200,2003,20030,
300,3005,30050,
500,5007,50070,
700,7011,70110,
1100,11013,110130,
1300,13017,130170,
- 1700.0,17000.0,170000.0)
+ 1700.0,17000.0,170000.0, 0.0)
expected_result = tuple([float(x) for x in xr])
tb = gr.top_block()
- [Commit-gnuradio] [gnuradio] branch maint updated (ccfd5aa -> 7bb1182), git, 2014/01/09
- [Commit-gnuradio] [gnuradio] 01/11: runtime: Disable CPU_SET macros for FreeBSD., git, 2014/01/09
- [Commit-gnuradio] [gnuradio] 05/11: volk: some versions of clang have problems with cvtpi32_ps., git, 2014/01/09
- [Commit-gnuradio] [gnuradio] 03/11: qtgui: fixed naming of classes for long-term use., git, 2014/01/09
- [Commit-gnuradio] [gnuradio] 11/11: grc: fix variable vlen for grc generated hier blocks, git, 2014/01/09
- [Commit-gnuradio] [gnuradio] 09/11: cmake: If Ice 3.4 found, check version of GCC and disable if >= 4.7., git, 2014/01/09
- [Commit-gnuradio] [gnuradio] 04/11: volk: clang sets GNUC_MINOR only to 2, so we need to check if we're building with clang. This patch enables xgetbv for clang >= 3.0., git, 2014/01/09
- [Commit-gnuradio] [gnuradio] 06/11: volk: test for clang version; if less than 3.2, disable SSE4a machine due to a bug in the compiler support., git, 2014/01/09
- [Commit-gnuradio] [gnuradio] 08/11: analog: additional docs for noise sources., git, 2014/01/09
- [Commit-gnuradio] [gnuradio] 10/11: volk: modifying tests for AVX and SSE4a support in compiler/CPU., git, 2014/01/09
- [Commit-gnuradio] [gnuradio] 07/11: filter: fixed an issue with filter delays for interp and rational_resampler filters.,
git <=
- [Commit-gnuradio] [gnuradio] 02/11: qtgui: fixed thread-safety in GRC variable-type blocks, git, 2014/01/09