[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 03/17: gr-fec: LPDC python function - addre
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 03/17: gr-fec: LPDC python function - addressing an "undefined" 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 48f2c2c46ba1969f3ea8fd2a453ceabb4d9bcc8f
Author: tracierenea <address@hidden>
Date: Tue Apr 5 17:59:10 2016 -0500
gr-fec: LPDC python function - addressing an "undefined" error
Minor fix to address this error:
Traceback (most recent call last):
File "Generate_LDPC_matrix.py", line 63, in <module>
[bestH,g] = get_best_matrix(newH,100)
File
"/home/tracie/pybombs/src/gnuradio/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py",
line 616, in get_best_matrix
[betterH, gap, t]
NameError: global name 'betterH' is not defined
---
gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py
b/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py
index c665e9e..6222443 100644
--- a/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py
+++ b/gr-fec/python/fec/LDPC/Generate_LDPC_matrix_functions.py
@@ -613,7 +613,7 @@ def get_best_matrix(H, numIterations=100, verbose=False):
print 'greedy_upper_triangulation error: ', e
else:
if ret:
- [betterH, gap, t]
+ [betterH, gap, t] = ret
else:
continue
- [Commit-gnuradio] [gnuradio] 04/17: gr-fec: LDPC python function - addressing an attribute error, (continued)
- [Commit-gnuradio] [gnuradio] 04/17: gr-fec: LDPC python function - addressing an attribute error, git, 2016/04/14
- [Commit-gnuradio] [gnuradio] 06/17: gr-fec: LDPC python - adding a handy function, git, 2016/04/14
- [Commit-gnuradio] [gnuradio] 09/17: gr-fec: free memory for info word in LDPC gen mtrx encoder, git, 2016/04/14
- [Commit-gnuradio] [gnuradio] 10/17: gr-fec: free memory used for the LDPC H matrix in the destructor, git, 2016/04/14
- [Commit-gnuradio] [gnuradio] 02/17: gr-fec: LDPC python function - addressing an "undefined" error, git, 2016/04/14
- [Commit-gnuradio] [gnuradio] 14/17: float(version) doesn't work with "1.9.0"; fixed nx version checking, git, 2016/04/14
- [Commit-gnuradio] [gnuradio] 17/17: Merge remote-tracking branch 'tracierenea/fec_ldpc_H_fix' into maint, git, 2016/04/14
- [Commit-gnuradio] [gnuradio] 01/17: gr-fec: Fix memory allocation issue during encoding., git, 2016/04/14
- [Commit-gnuradio] [gnuradio] 13/17: grc: update year in copyright, git, 2016/04/14
- [Commit-gnuradio] [gnuradio] 16/17: Merge remote-tracking branch 'mmueller/fix_networkx_version_checking' into maint, git, 2016/04/14
- [Commit-gnuradio] [gnuradio] 03/17: gr-fec: LPDC python function - addressing an "undefined" error,
git <=
- [Commit-gnuradio] [gnuradio] 15/17: Merge remote-tracking branch 'gnuradio-wg-grc/maint_grcwg' into maint, git, 2016/04/14
- [Commit-gnuradio] [gnuradio] 07/17: gr-fec: Removing 2 bad matrices from the LDPC alist file collection, git, 2016/04/14