[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 01/01: fec: qa: fix use of Bool type to be
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 01/01: fec: qa: fix use of Bool type to be actual boolean Python values |
Date: |
Mon, 13 Oct 2014 20:31:17 +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 a590a3732e25b3e5ebf3ebea725d0030e49f421e
Author: Michael Dickens <address@hidden>
Date: Tue Oct 7 09:20:33 2014 -0400
fec: qa: fix use of Bool type to be actual boolean Python values
---
gr-fec/python/fec/qa_ber_bf.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gr-fec/python/fec/qa_ber_bf.py b/gr-fec/python/fec/qa_ber_bf.py
index 1a60c68..7cd2871 100644
--- a/gr-fec/python/fec/qa_ber_bf.py
+++ b/gr-fec/python/fec/qa_ber_bf.py
@@ -37,7 +37,7 @@ class test_ber_bf(gr_unittest.TestCase):
# Cause a single bit error out of 8*N bits
# using streaming mode
- mode = 0
+ mode = False
N = 10000
data0 = numpy.random.randint(0, 256, N).tolist()
data1 = copy.deepcopy(data0)
@@ -62,7 +62,7 @@ class test_ber_bf(gr_unittest.TestCase):
# Cause a single bit error out of 8*N bits
# using test mode
- mode = 1
+ mode = True
N = 1000
data0 = numpy.random.randint(0, 256, N).tolist()
data1 = copy.deepcopy(data0)
@@ -87,7 +87,7 @@ class test_ber_bf(gr_unittest.TestCase):
# Cause 8 bit errors out of 8*N bits
# using test mode
- mode = 1
+ mode = True
N = 1000
data0 = numpy.random.randint(0, 256, N).tolist()
data1 = copy.deepcopy(data0)
@@ -113,7 +113,7 @@ class test_ber_bf(gr_unittest.TestCase):
# using test mode
# Exit if BER < -2.0
- mode = 1
+ mode = True
N = 1000
data0 = numpy.random.randint(0, 256, N).tolist()
data1 = copy.deepcopy(data0)