diff options
author | David Cournapeau <cournape@gmail.com> | 2009-02-14 17:03:51 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-02-14 17:03:51 +0000 |
commit | 33d79edf8e06fd69b26a9331d612caadb7b55672 (patch) | |
tree | 062143b7012ff0c263a6b49184b8b2692e9cf666 /numpy | |
parent | 6429fa32eff754c1dab74195593c96429ba2faf9 (diff) | |
download | numpy-33d79edf8e06fd69b26a9331d612caadb7b55672.tar.gz |
Include C99 math compatbility layer in multiarray - isnan and co needed by numpyos.c
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/src/multiarraymodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/src/multiarraymodule.c b/numpy/core/src/multiarraymodule.c index b8ceb8743..d680671c3 100644 --- a/numpy/core/src/multiarraymodule.c +++ b/numpy/core/src/multiarraymodule.c @@ -81,6 +81,10 @@ _arraydescr_fromobj(PyObject *obj) return NULL; } +/* XXX: We include c99 compat math module here because it is needed for + * numpyos.c (included by arrayobject). This is bad - we should separate + * declaration/implementation and share this in a lib. */ +#include "umath_funcs_c99.inc" /* Including this file is the only way I know how to declare functions static in each file, and store the pointers from functions in both |