diff options
author | Chris Kerr <debdepba@dasganma.tk> | 2014-11-10 15:01:41 +0000 |
---|---|---|
committer | Chris Kerr <debdepba@dasganma.tk> | 2014-11-10 16:00:45 +0000 |
commit | eb27fc3e0faba3e6a809bf120aa2c04987c9c78d (patch) | |
tree | dda50dc1b28c0d737fb93b28e5d4446f6aff98c2 /numpy/f2py/src/fortranobject.h | |
parent | c5f0d72a9059d44511be158031d0c8e77f1f9b6b (diff) | |
download | numpy-eb27fc3e0faba3e6a809bf120aa2c04987c9c78d.tar.gz |
DEP: Replaced arr->descr, arr->flags and arr->base with the PyArray_* functions
Diffstat (limited to 'numpy/f2py/src/fortranobject.h')
-rw-r--r-- | numpy/f2py/src/fortranobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/src/fortranobject.h b/numpy/f2py/src/fortranobject.h index 689f78c92..18a26528d 100644 --- a/numpy/f2py/src/fortranobject.h +++ b/numpy/f2py/src/fortranobject.h @@ -119,7 +119,7 @@ int F2PyCapsule_Check(PyObject *ptr); #endif -#define ISCONTIGUOUS(m) ((m)->flags & NPY_CONTIGUOUS) +#define ISCONTIGUOUS(m) (PyArray_FLAGS(m) & NPY_CONTIGUOUS) #define F2PY_INTENT_IN 1 #define F2PY_INTENT_INOUT 2 #define F2PY_INTENT_OUT 4 |