diff options
author | Marcus Müller <marcus@hostalia.de> | 2020-06-19 11:07:54 +0200 |
---|---|---|
committer | Marcus Müller <marcus@hostalia.de> | 2020-06-19 11:07:54 +0200 |
commit | e76d04ca2f4f15e3b1a1ab2a81dd52c4e6d2472c (patch) | |
tree | 1d86f68fceed9cd7204d9a79e816dc06c15feaf4 /gr-blocks/python/blocks/qa_multiply_conjugate.py | |
parent | 98348e37209aa7daeb96fe5ead815e5b083dc6da (diff) | |
parent | 39311758cb1e6a7424d3213b3eb2c65c8c4dcfe1 (diff) |
Move from SWIG to Pybind11
Goodbye, and thanks for all the fish, SWIG.
Please refer to docs/PYBIND11.md for details on how to deal with Pybind.
Diffstat (limited to 'gr-blocks/python/blocks/qa_multiply_conjugate.py')
-rw-r--r-- | gr-blocks/python/blocks/qa_multiply_conjugate.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gr-blocks/python/blocks/qa_multiply_conjugate.py b/gr-blocks/python/blocks/qa_multiply_conjugate.py index f1af28f78a..ed76cf7b47 100644 --- a/gr-blocks/python/blocks/qa_multiply_conjugate.py +++ b/gr-blocks/python/blocks/qa_multiply_conjugate.py @@ -20,16 +20,16 @@ class test_multiply_conjugate (gr_unittest.TestCase): self.tb = None def test_000 (self): - src_data0 = (-2-2j, -1-1j, -2+2j, -1+1j, + src_data0 = [-2-2j, -1-1j, -2+2j, -1+1j, 2-2j, 1-1j, 2+2j, 1+1j, - 0+0j) - src_data1 = (-3-3j, -4-4j, -3+3j, -4+4j, + 0+0j] + src_data1 = [-3-3j, -4-4j, -3+3j, -4+4j, 3-3j, 4-4j, 3+3j, 4+4j, - 0+0j) + 0+0j] - exp_data = (12+0j, 8+0j, 12+0j, 8+0j, + exp_data = [12+0j, 8+0j, 12+0j, 8+0j, 12+0j, 8+0j, 12+0j, 8+0j, - 0+0j) + 0+0j] src0 = blocks.vector_source_c(src_data0) src1 = blocks.vector_source_c(src_data1) op = blocks.multiply_conjugate_cc () |