diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-01-24 09:13:40 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-01-24 09:22:42 -0700 |
commit | 7c1435c11d8bc0d1a3a380bc541a46f75749dc52 (patch) | |
tree | 5a02b21a6ff9bc8303981cb13d79f585a1085732 /numpy/lib/tests/test_regression.py | |
parent | ccbbfd5fd4c0377672aff5701e3624254b3a3138 (diff) | |
download | numpy-7c1435c11d8bc0d1a3a380bc541a46f75749dc52.tar.gz |
MAINT: Use a better method to detect complex arrays.
Instead of
if lhs.dtype.char in np.typecodes['Complex']:
use
if issubclass(lhs.dtype.type, np.complexfloating):
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
0 files changed, 0 insertions, 0 deletions