diff --git a/lib/fff_python_wrapper/fffpy.c b/lib/fff_python_wrapper/fffpy.c index 8ed47261f..339425041 100644 --- a/lib/fff_python_wrapper/fffpy.c +++ b/lib/fff_python_wrapper/fffpy.c @@ -14,7 +14,7 @@ * http://mail.scipy.org/pipermail/numpy-discussion/2010-December/054350.html */ IMP_OUT fffpy_import_array(void) { - import_array(); + return PyArray_ImportNumPyAPI(); } /* Static functions */