summaryrefslogtreecommitdiff
path: root/gr-blocks/lib
diff options
context:
space:
mode:
authorTim O'Shea2012-11-28 19:57:59 -0800
committerJohnathan Corgan2012-11-28 19:59:01 -0800
commit680c889aec7db3b18a8c81c5405ed141f1b078c7 (patch)
tree9cfab297b6a45e1727833dd3dbc5ce9283bb8ecd /gr-blocks/lib
parentff81c844713b5234622ceb906af219a569d0914f (diff)
downloadgnuradio-680c889aec7db3b18a8c81c5405ed141f1b078c7.tar.gz
gnuradio-680c889aec7db3b18a8c81c5405ed141f1b078c7.tar.bz2
gnuradio-680c889aec7db3b18a8c81c5405ed141f1b078c7.zip
patterned qa added, bugs fixed
Diffstat (limited to 'gr-blocks/lib')
-rw-r--r--gr-blocks/lib/patterned_interleaver_impl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gr-blocks/lib/patterned_interleaver_impl.cc b/gr-blocks/lib/patterned_interleaver_impl.cc
index c53ba03d7..437c733a1 100644
--- a/gr-blocks/lib/patterned_interleaver_impl.cc
+++ b/gr-blocks/lib/patterned_interleaver_impl.cc
@@ -63,14 +63,14 @@ namespace gr {
for(size_t i=0; i<nblks; i++){
for(size_t j=0; j<d_pattern.size(); j++){
- memcpy(oo, ii[j], d_itemsize);
+ memcpy(oo, ii[d_pattern[j]], d_itemsize);
oo += d_itemsize;
- ii[j] += d_itemsize;
+ ii[d_pattern[j]] += d_itemsize;
}
}
- for(size_t i=0; i<d_pattern.size(); i++){
- consume(i, d_pattern[i]*nblks );
+ for(size_t i=0; i<d_counts.size(); i++){
+ consume(i, d_counts[i]*nblks );
}
return nblks*d_pattern.size();
}