We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f87688 commit fda1fcaCopy full SHA for fda1fca
pandas/_libs/src/klib/khash_python.h
@@ -1,14 +1,9 @@
1
#include <string.h>
2
#include <Python.h>
3
4
-#include <numpy/arrayobject.h>
5
-
6
-//typedef struct { double real, imag; } khcomplex128_t;
7
-//typedef struct { float real, imag; } khcomplex64_t;
8
-//typedef __pyx_t_float_complex khcomplex64_t;
9
-//typedef __pyx_t_double_complex khcomplex128_t;
10
11
+// use numpy's definitions for complex
+#include <numpy/arrayobject.h>
12
typedef npy_complex64 khcomplex64_t;
13
typedef npy_complex128 khcomplex128_t;
14
0 commit comments