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.c | |
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.c')
-rw-r--r-- | numpy/f2py/src/fortranobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/src/fortranobject.c b/numpy/f2py/src/fortranobject.c index bdda29f9e..0dfd5df96 100644 --- a/numpy/f2py/src/fortranobject.c +++ b/numpy/f2py/src/fortranobject.c @@ -766,7 +766,7 @@ PyArrayObject* array_from_pyobj(const int type_num, ); if (!(ARRAY_ISCOMPATIBLE(arr,type_num))) sprintf(mess+strlen(mess)," -- input '%c' not compatible to '%c'", - arr->descr->type,typechar); + PyArray_DESCR(arr)->type,typechar); if (!(F2PY_CHECK_ALIGNMENT(arr, intent))) sprintf(mess+strlen(mess)," -- input not %d-aligned", F2PY_GET_ALIGNMENT(intent)); PyErr_SetString(PyExc_ValueError,mess); |