diff --git a/extra/setup.py b/extra/setup.py index 1419380..240358d 100644 --- a/extra/setup.py +++ b/extra/setup.py @@ -22,7 +22,7 @@ import numpy from Cython.Build import cythonize from Cython.Distutils import Extension -from setuptools import setup, find_packages +from setuptools import setup extraLinkArgs = [] if 'posix' in os.name: diff --git a/extra/src/iq_correction.pyx b/extra/src/iq_correction.pyx index 6ca0be4..8ea3f88 100644 --- a/extra/src/iq_correction.pyx +++ b/extra/src/iq_correction.pyx @@ -46,11 +46,8 @@ cdef class IQCorrection: cpdef void correctIq(self, ndarray[np.complex128_t] data, ndarray[np.complex128_t] off): cdef Py_ssize_t i cdef Py_ssize_t size = data.shape[0] - # for i in prange(size, nogil=True): with nogil: for i in range(size): - # *SIGH* VS bitches about the arithmetic assignment - # operator, bc ofc it does data[i] = data[i] - off[0] off[0] += data[i] * self.inductance