summaryrefslogtreecommitdiff
path: root/gr-digital/python/digital/qam.py
diff options
context:
space:
mode:
authorJosh Morman <jmorman@gnuradio.org>2021-11-24 12:25:09 -0500
committermormj <34754695+mormj@users.noreply.github.com>2021-11-24 14:41:53 -0500
commit3cecf9268b15bb0e9e2fedaeb2528bd3038beee6 (patch)
treeba0bb14fa03664b4e69e0dcb944b96ae298264d8 /gr-digital/python/digital/qam.py
parent310b7f0cc25edf90c0bc6754031d763119b0ae97 (diff)
digital: pep8 formatting
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Diffstat (limited to 'gr-digital/python/digital/qam.py')
-rw-r--r--gr-digital/python/digital/qam.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-digital/python/digital/qam.py b/gr-digital/python/digital/qam.py
index d74866b946..6e8951ef1e 100644
--- a/gr-digital/python/digital/qam.py
+++ b/gr-digital/python/digital/qam.py
@@ -243,8 +243,8 @@ def large_ampls_to_corners_mapping(side, points, width):
# use the center point.
c = ((real_x - side / 2.0 + 0.5) * width +
(imag_x - side / 2.0 + 0.5) * width * 1j)
- if (real_x >= extra_layers and real_x < side - extra_layers
- and imag_x >= extra_layers and imag_x < side - extra_layers):
+ if (real_x >= extra_layers and real_x < side - extra_layers and
+ imag_x >= extra_layers and imag_x < side - extra_layers):
# This is not an edge row/column. Find closest point.
index = find_closest_point(c, points)
else: