commit-gnuradio
[Top][All Lists]
Advanced

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

[Commit-gnuradio] [gnuradio] 04/17: gr-fec: LDPC python function - addre


From: git
Subject: [Commit-gnuradio] [gnuradio] 04/17: gr-fec: LDPC python function - addressing an attribute error
Date: Thu, 14 Apr 2016 20:43:02 +0000 (UTC)

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

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit 61deb9efd404e11d084bd1cf30a5cfedda017496
Author: tracierenea <address@hidden>
Date:   Tue Apr 5 18:02:59 2016 -0500

    gr-fec: LDPC python function - addressing an attribute error
    
    Minor fix to address this error:
    
    Traceback (most recent call last):
      File "Generate_LDPC_matrix.py", line 78, in <module>
        parity_check_matrix.write_alist_file(alist_filename,bestH)
    AttributeError: LDPC_matrix instance has no attribute 'write_alist_file'
---
 gr-fec/python/fec/LDPC/Generate_LDPC_matrix.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gr-fec/python/fec/LDPC/Generate_LDPC_matrix.py 
b/gr-fec/python/fec/LDPC/Generate_LDPC_matrix.py
index 696d957..a3862a6 100644
--- a/gr-fec/python/fec/LDPC/Generate_LDPC_matrix.py
+++ b/gr-fec/python/fec/LDPC/Generate_LDPC_matrix.py
@@ -75,5 +75,5 @@ print "\tgap  : %i" % g
 
 # Save the matrix to an alist file for future use:
 alist_filename = "n_%04i_k_%04i_gap_%02i.alist" % (n,k,g)
-parity_check_matrix.write_alist_file(alist_filename,bestH)
+write_alist_file(alist_filename,bestH)
 print '\nMatrix saved to alist file:', alist_filename, "\n"



reply via email to

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