diff options
author | anastas | 2006-08-11 07:03:03 +0000 |
---|---|---|
committer | anastas | 2006-08-11 07:03:03 +0000 |
commit | ebd3845a6aac08b8b7058963e1d72c93d652f2f3 (patch) | |
tree | 7fa125ba4e26f558b5ce496a0ed986f97acaa7b2 /gr-trellis/src/lib/trellis_viterbi_combined_i.cc | |
parent | 30f2121800afe283879a3369a7462d699a77af50 (diff) | |
download | gnuradio-ebd3845a6aac08b8b7058963e1d72c93d652f2f3.tar.gz gnuradio-ebd3845a6aac08b8b7058963e1d72c93d652f2f3.tar.bz2 gnuradio-ebd3845a6aac08b8b7058963e1d72c93d652f2f3.zip |
1) Minor correction in Viterbi. 2) Checked in interleaver structure
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@3232 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-trellis/src/lib/trellis_viterbi_combined_i.cc')
-rw-r--r-- | gr-trellis/src/lib/trellis_viterbi_combined_i.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-trellis/src/lib/trellis_viterbi_combined_i.cc b/gr-trellis/src/lib/trellis_viterbi_combined_i.cc index b415f064e..3301d0283 100644 --- a/gr-trellis/src/lib/trellis_viterbi_combined_i.cc +++ b/gr-trellis/src/lib/trellis_viterbi_combined_i.cc @@ -136,7 +136,7 @@ void viterbi_algorithm_combined(const int I, const int S, const int O, minm=INF; minmi=0; for(int i=0;i<S;i++) - if((mm=trace[(K-1)*S+i])<minm) minm=mm,minmi=i; + if((mm=alpha[alphai*S+i])<minm) minm=mm,minmi=i; st=minmi; } else { |