diff options
author | tracierenea <tracie.perez@mavs.uta.edu> | 2016-04-05 18:02:59 -0500 |
---|---|---|
committer | tracierenea <tracie.perez@mavs.uta.edu> | 2016-04-05 18:02:59 -0500 |
commit | 61deb9efd404e11d084bd1cf30a5cfedda017496 (patch) | |
tree | c98bc7c564ab8130e024c2c053192fbff79b2a6b /gr-fec | |
parent | 48f2c2c46ba1969f3ea8fd2a453ceabb4d9bcc8f (diff) |
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'
Diffstat (limited to 'gr-fec')
-rw-r--r-- | gr-fec/python/fec/LDPC/Generate_LDPC_matrix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-fec/python/fec/LDPC/Generate_LDPC_matrix.py b/gr-fec/python/fec/LDPC/Generate_LDPC_matrix.py index 696d957604..a3862a6fda 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" |