commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 11/39: fec: LDPC: Fixing simple, but crucia


From: git
Subject: [Commit-gnuradio] [gnuradio] 11/39: fec: LDPC: Fixing simple, but crucial, error in decoder. doh!
Date: Thu, 15 Oct 2015 21:21:28 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit d243d7ca695defc5003fd315cd8c814eaf5642a8
Author: tracierenea <address@hidden>
Date:   Wed Jul 23 17:32:23 2014 -0500

    fec: LDPC: Fixing simple, but crucial, error in decoder. doh!
    
    LDPC bit flip decoder seems to work reasonably now!
---
 gr-fec/lib/ldpc_bit_flip_decoder_impl.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gr-fec/lib/ldpc_bit_flip_decoder_impl.cc 
b/gr-fec/lib/ldpc_bit_flip_decoder_impl.cc
index 154105d..c960bd2 100644
--- a/gr-fec/lib/ldpc_bit_flip_decoder_impl.cc
+++ b/gr-fec/lib/ldpc_bit_flip_decoder_impl.cc
@@ -132,8 +132,8 @@ namespace gr {
           // syndrome. The entry numbers correspond to the rows of
           // interest in H.
           std::vector<int> rows_of_interest_in_H;
-          for (index = 0; index < (*syndrome).size1; index++) {;
-            if (gsl_matrix_get(x, index, 0)) {
+          for (index = 0; index < (*syndrome).size1; index++) {
+            if (gsl_matrix_get(syndrome, index, 0)) {
               rows_of_interest_in_H.push_back(index);
             }
           }



reply via email to

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