Fixed a missing (X) in define
This commit is contained in:
parent
953e1ee8f4
commit
690c91220e
|
@ -406,7 +406,7 @@ extern "C" {
|
|||
*/
|
||||
#ifndef Py_IS_FINITE
|
||||
#ifdef HAVE_FINITE
|
||||
#define Py_IS_FINITE(X) finite
|
||||
#define Py_IS_FINITE(X) finite(X)
|
||||
#else
|
||||
#define Py_IS_FINITE(X) (!Py_IS_INFINITY(X) && !Py_IS_NAN(X))
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue