From f1e6e2b2fa0ef6bfa9f6f4ee832cfbc1fd817728 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Tue, 20 Jun 2006 01:03:25 +0000 Subject: Make import_array and import_ufunc MACROS again. --- numpy/lib/src/_compiled_base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/lib') 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); -- cgit v1.2.1