diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-03-06 19:11:30 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-03-06 19:11:30 +0000 |
commit | 16179a073380c717786262b403ae4286c9e546c6 (patch) | |
tree | 2aebc688fcd6390df655c954ed42b74a2fa919f9 /numpy/f2py/src/fortranobject.c | |
parent | 399018f2b1f68877c622f8ca015c10fb40e6f625 (diff) | |
download | numpy-16179a073380c717786262b403ae4286c9e546c6.tar.gz |
BUG: f2py: ensure that ARRAY_ISCOMPATIBLE macro handles also booleans
Diffstat (limited to 'numpy/f2py/src/fortranobject.c')
-rw-r--r-- | numpy/f2py/src/fortranobject.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/numpy/f2py/src/fortranobject.c b/numpy/f2py/src/fortranobject.c index 3f8177808..d08b43c6b 100644 --- a/numpy/f2py/src/fortranobject.c +++ b/numpy/f2py/src/fortranobject.c @@ -529,6 +529,7 @@ static int swap_arrays(PyArrayObject* arr1, PyArrayObject* arr2) { ( (PyArray_ISINTEGER(arr) && PyTypeNum_ISINTEGER(type_num)) \ ||(PyArray_ISFLOAT(arr) && PyTypeNum_ISFLOAT(type_num)) \ ||(PyArray_ISCOMPLEX(arr) && PyTypeNum_ISCOMPLEX(type_num)) \ + ||(PyArray_ISBOOL(arr) && PyTypeNum_ISBOOL(type_num)) \ ) extern |