Stupid me. Py_RETURN_NAN should actually return something ...
This commit is contained in:
parent
81ad6a185a
commit
c873550737
|
@ -22,7 +22,7 @@ PyAPI_DATA(PyTypeObject) PyFloat_Type;
|
|||
#define PyFloat_CheckExact(op) (Py_TYPE(op) == &PyFloat_Type)
|
||||
|
||||
#ifdef Py_NAN
|
||||
#define Py_RETURN_NAN PyFloat_FromDouble(Py_NAN)
|
||||
#define Py_RETURN_NAN return PyFloat_FromDouble(Py_NAN)
|
||||
#endif
|
||||
|
||||
#define Py_RETURN_INF(sign) do \
|
||||
|
|
Loading…
Reference in New Issue