commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] gr-error-correcting-codes/src/lib/libecc code_c...


From: Michael Dickens
Subject: [Commit-gnuradio] gr-error-correcting-codes/src/lib/libecc code_c...
Date: Wed, 02 Aug 2006 02:03:21 +0000

CVSROOT:        /sources/gnuradio
Module name:    gr-error-correcting-codes
Changes by:     Michael Dickens <michaelld>     06/08/02 02:03:21

Modified files:
        src/lib/libecc : code_convolutional_trellis.cc 

Log message:
        Hopefully now -really- fixed the compile issue.
        
        Corrected a difference in the method declaration in the .h file and
        the .cc file.  Also corrected the calling method's variables so that
        they are correct.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gr-error-correcting-codes/src/lib/libecc/code_convolutional_trellis.cc?cvsroot=gnuradio&r1=1.3&r2=1.4

Patches:
Index: code_convolutional_trellis.cc
===================================================================
RCS file: 
/sources/gnuradio/gr-error-correcting-codes/src/lib/libecc/code_convolutional_trellis.cc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- code_convolutional_trellis.cc       2 Aug 2006 01:28:44 -0000       1.3
+++ code_convolutional_trellis.cc       2 Aug 2006 02:03:20 -0000       1.4
@@ -563,8 +563,8 @@
 
   // fill in the trellis
 
-  for (size_t m = 0; m < d_n_states; m++) {
-    for (size_t n = 0; n < d_n_input_combinations; n++) {
+  for (memory_t m = 0; m < d_n_states; m++) {
+    for (memory_t n = 0; n < d_n_input_combinations; n++) {
       connection_t_ptr t_connection = &(d_trellis[m][n]);
       encode_single (m, n, t_connection->d_to_state,
                     t_connection->d_output_bits);
@@ -645,7 +645,7 @@
 void
 code_convolutional_trellis::encode_single
 (memory_t in_state,
- size_t inputs,
+ memory_t inputs,
  memory_t& out_state,
  std::vector<char>& out_bits)
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]