Fixed a missing (X) in define

This commit is contained in:
Christian Heimes 2008-01-22 15:01:25 +00:00
parent 953e1ee8f4
commit 690c91220e
1 changed files with 1 additions and 1 deletions

View File

@ -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