diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-07-18 20:55:33 +0000 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-07-18 20:55:33 +0000 |
commit | 47702d223e7696419faf73b0d881eb1be9a7a8b0 (patch) | |
tree | 294ae30a74682c003b760bb33c573b4d5a04f449 /numpy/core/setup_common.py | |
parent | eab3c1e98d296d6307b0f89c33c57319d3ac7975 (diff) | |
download | numpy-47702d223e7696419faf73b0d881eb1be9a7a8b0.tar.gz |
BUG: core/umath: make complex number comparisons False when *either* element is nan
This also fixes NaN propagation in np.maximum/minimum, for example in
the case for
maximum(1, complex(0, nan)) -> (0, nan)
which previously yielded (1, 0).
Diffstat (limited to 'numpy/core/setup_common.py')
0 files changed, 0 insertions, 0 deletions