Commit a2bec15e authored by Robert Bradshaw's avatar Robert Bradshaw

Really fix complex numbers.

parent bd43a6a2
......@@ -2061,7 +2061,7 @@ proto="""
#define __Pyx_CIMAG(z) ((z).imag)
#endif
#if defined(__cplusplus) && !CYTHON_COMPLEX \
#if defined(__cplusplus) && CYTHON_CCOMPLEX \
&& (defined(_WIN32) || defined(__clang__) || (defined(__GNUC__) && GCC_VERSION >= 40400) || __cplusplus >= 201103)
#define __Pyx_SET_CREAL(z,x) ((z).real(x))
#define __Pyx_SET_CIMAG(z,y) ((z).imag(y))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment