summaryrefslogtreecommitdiff
path: root/gr-fec
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2014-10-13 13:10:56 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2014-10-13 13:10:56 -0700
commit687c637fd80a926fb13ef5285991e4fdee50bd1b (patch)
treef980fc10773382325ca6a0ce96ef29ec5273bc6c /gr-fec
parentc9f64643c895acebf6524e51b4047db7d777e313 (diff)
parenta590a3732e25b3e5ebf3ebea725d0030e49f421e (diff)
Merge branch 'maint'
Diffstat (limited to 'gr-fec')
-rw-r--r--gr-fec/python/fec/qa_ber_bf.py8
1 files 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 1a60c68581..7cd2871eff 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)