summaryrefslogtreecommitdiff
path: root/numpy/lib/src/_compiled_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/src/_compiled_base.c')
-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);