Commit 441187e9 authored by Stefan Behnel's avatar Stefan Behnel

Fix up the NumPy warnings hack by using the actual "import_array()" function...

Fix up the NumPy warnings hack by using the actual "import_array()" function declaration instead of a wrong one.
parent e426bbd4
# hack to avoid C compiler warnings about unused functions in the NumPy header files # hack to avoid C compiler warnings about unused functions in the NumPy header files
from numpy cimport import_array # , import_umath
cdef extern from *: cdef extern from *:
bint FALSE "0" bint FALSE "0"
void import_array()
# void import_umath()
if FALSE: if FALSE:
import_array() import_array()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment