[Numpy-svn] r6211 - in trunk/numpy/core: . src

numpy-svn@scip... numpy-svn@scip...
Sat Dec 27 09:12:30 CST 2008


Author: cdavid
Date: 2008-12-27 09:12:20 -0600 (Sat, 27 Dec 2008)
New Revision: 6211

Modified:
   trunk/numpy/core/setup.py
   trunk/numpy/core/src/multiarraymodule.c
Log:
Include umath_funcs_c99 in multiarray so that we can use isinf and co macros.

Modified: trunk/numpy/core/setup.py
===================================================================
--- trunk/numpy/core/setup.py	2008-12-27 14:59:41 UTC (rev 6210)
+++ trunk/numpy/core/setup.py	2008-12-27 15:12:20 UTC (rev 6211)
@@ -352,7 +352,8 @@
                                     join('src','scalartypes.inc.src'),
                                     join('src','arraytypes.inc.src'),
                                     join(codegen_dir,'generate_numpy_api.py'),
-                                    join('*.py')
+                                    join('*.py'),
+                                    join('src','umath_funcs_c99.inc.src'),
                                     ],
                          depends = deps,
                          )

Modified: trunk/numpy/core/src/multiarraymodule.c
===================================================================
--- trunk/numpy/core/src/multiarraymodule.c	2008-12-27 14:59:41 UTC (rev 6210)
+++ trunk/numpy/core/src/multiarraymodule.c	2008-12-27 15:12:20 UTC (rev 6211)
@@ -24,6 +24,7 @@
 
 #define PyAO PyArrayObject
 
+#include "umath_funcs_c99.inc"
 
 static PyObject *typeDict=NULL;   /* Must be explicitly loaded */
 



More information about the Numpy-svn mailing list