aboutsummaryrefslogtreecommitdiffstats
path: root/host/python
diff options
context:
space:
mode:
authorerickshepherdNI <erickshepherd@ni.com>2019-11-01 17:29:22 -0500
committerMartin Braun <martin.braun@ettus.com>2019-11-01 16:35:33 -0700
commitebb06c983a4d5e68ebf6d51c05eac95b9fcbbaba (patch)
treeeae13c0d631c8f509223835e1806c694b897c0c6 /host/python
parent9d75460d363ad03bf43c79955f41caf2f2253d8e (diff)
downloaduhd-ebb06c983a4d5e68ebf6d51c05eac95b9fcbbaba.tar.gz
uhd-ebb06c983a4d5e68ebf6d51c05eac95b9fcbbaba.tar.bz2
uhd-ebb06c983a4d5e68ebf6d51c05eac95b9fcbbaba.zip
python: Included complex.h to allow pybind to convert that data type
Diffstat (limited to 'host/python')
-rw-r--r--host/python/pyuhd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/python/pyuhd.cpp b/host/python/pyuhd.cpp
index 16badbe8c..b29ca4678 100644
--- a/host/python/pyuhd.cpp
+++ b/host/python/pyuhd.cpp
@@ -6,6 +6,7 @@
//
#include <pybind11/pybind11.h>
+#include <pybind11/complex.h>
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include <numpy/arrayobject.h>