diff options
author | Jonathan Tammo Siebert <siebertjonathan@aim.com> | 2016-12-21 18:17:15 +0100 |
---|---|---|
committer | Jonathan Siebert <siebertjonathan@aim.com> | 2017-01-04 22:36:47 +0100 |
commit | 777e8c6f2d37e51b375e9be012055356061828d5 (patch) | |
tree | 91bf3141fbc6ccb5ebf6e88651d92abea842e5bc /numpy/lib/tests/test_packbits.py | |
parent | a2f9fe71ce3e2d4a0c8622617a852551feadf01a (diff) | |
download | numpy-777e8c6f2d37e51b375e9be012055356061828d5.tar.gz |
BUG: corrected behavior for assert_array_less
See issue #2418
assert_array_less does now treat inf/nan
correctly, namely:
-inf < x < inf for any real number x
nans still are not compared, when they occur
at the same position
To achieve this without breaking any other
functions relying on assert_array_compare,
an additional parameter (equal_inf) was
introduced that defaults to the old behavior
(analogous to equal_nan).
Diffstat (limited to 'numpy/lib/tests/test_packbits.py')
0 files changed, 0 insertions, 0 deletions