summaryrefslogtreecommitdiff
path: root/numpy/lib/src
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-06-20 01:03:25 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-06-20 01:03:25 +0000
commitf1e6e2b2fa0ef6bfa9f6f4ee832cfbc1fd817728 (patch)
tree76048db17484354f758f8f5e41dff3b44712dcd0 /numpy/lib/src
parentc6c3f19d4968ca1971830fddfe391a942ec29edb (diff)
downloadnumpy-f1e6e2b2fa0ef6bfa9f6f4ee832cfbc1fd817728.tar.gz
Make import_array and import_ufunc MACROS again.
Diffstat (limited to 'numpy/lib/src')
-rw-r--r--numpy/lib/src/_compiled_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/src/_compiled_base.c b/numpy/lib/src/_compiled_base.c
index 596090f42..4878abb49 100644
--- a/numpy/lib/src/_compiled_base.c
+++ b/numpy/lib/src/_compiled_base.c
@@ -437,8 +437,8 @@ PyMODINIT_FUNC init_compiled_base(void) {
/* Create the module and add the functions */
m = Py_InitModule("_compiled_base", methods);
- /* Import the array and ufunc objects */
- if (import_array() < 0) return;
+ /* Import the array objects */
+ import_array();
/* Add some symbolic constants to the module */
d = PyModule_GetDict(m);