We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cf411d commit e1e22aeCopy full SHA for e1e22ae
pandas/_libs/src/klib/khash_python.h
@@ -1,5 +1,4 @@
1
#include <string.h>
2
-#include <math.h>
3
#include <Python.h>
4
5
#include "khash.h"
@@ -31,7 +30,7 @@ khint64_t PANDAS_INLINE asint64(double key) {
31
30
32
// correct for all
33
#define kh_float64_hash_func(key) ((key) != (key) ? \
34
- kh_float64_hash_func_NAN(NAN) : \
+ kh_float64_hash_func_NAN(Py_NAN) : \
35
kh_float64_hash_func_NAN(key))
36
37
#define kh_float64_hash_equal(a, b) ((a) == (b) || ((b) != (b) && (a) != (a)))
0 commit comments