diff options
Diffstat (limited to 'gr-trellis/src/lib/trellis_viterbi_i.cc')
-rw-r--r-- | gr-trellis/src/lib/trellis_viterbi_i.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gr-trellis/src/lib/trellis_viterbi_i.cc b/gr-trellis/src/lib/trellis_viterbi_i.cc index f5d61173b..b39c68510 100644 --- a/gr-trellis/src/lib/trellis_viterbi_i.cc +++ b/gr-trellis/src/lib/trellis_viterbi_i.cc @@ -20,6 +20,8 @@ * Boston, MA 02110-1301, USA. */ +// WARNING: this file is machine generated. Edits will be over written + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -106,7 +108,7 @@ void viterbi_algorithm(int I, int S, int O, for(int j=0;j<S;j++) { // for each next state do ACS minm=INF; minmi=0; - for(int i=0;i<PS[j].size();i++) { + for(unsigned int i=0;i<PS[j].size();i++) { //int i0 = j*I+i; if((mm=alpha[alphai*S+PS[j][i]]+in[k*O+OS[PS[j][i]*I+PI[j][i]]])<minm) minm=mm,minmi=i; |