diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-06-20 01:03:25 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-06-20 01:03:25 +0000 |
commit | f1e6e2b2fa0ef6bfa9f6f4ee832cfbc1fd817728 (patch) | |
tree | 76048db17484354f758f8f5e41dff3b44712dcd0 /numpy/linalg/lapack_litemodule.c | |
parent | c6c3f19d4968ca1971830fddfe391a942ec29edb (diff) | |
download | numpy-f1e6e2b2fa0ef6bfa9f6f4ee832cfbc1fd817728.tar.gz |
Make import_array and import_ufunc MACROS again.
Diffstat (limited to 'numpy/linalg/lapack_litemodule.c')
-rw-r--r-- | numpy/linalg/lapack_litemodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/linalg/lapack_litemodule.c b/numpy/linalg/lapack_litemodule.c index 5128fa85c..66b0dd7ac 100644 --- a/numpy/linalg/lapack_litemodule.c +++ b/numpy/linalg/lapack_litemodule.c @@ -682,7 +682,7 @@ initlapack_lite(void) m = Py_InitModule4("lapack_lite", lapack_lite_module_methods, lapack_lite_module_documentation, (PyObject*)NULL,PYTHON_API_VERSION); - if (import_array() < 0) return; + import_array(); d = PyModule_GetDict(m); LapackError = PyErr_NewException("lapack_lite.LapackError", NULL, NULL); PyDict_SetItemString(d, "LapackError", LapackError); |