diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2015-04-03 12:46:06 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2015-04-03 17:20:15 -0600 |
commit | acbd6a9d4be019629414ec5f9a91c02bce7dec14 (patch) | |
tree | 1b0cc75e01700c72ba351c4de0d0205a06682f82 /numpy/lib/tests/test_recfunctions.py | |
parent | 71dea15af12ca296cb0f360f09bbedd7c5edfd15 (diff) | |
download | numpy-acbd6a9d4be019629414ec5f9a91c02bce7dec14.tar.gz |
BUG: Refactor nan_to_num and make list inputs work in Python > 3.2.
Also fix the documentation to reflect current behavior
1) Copies of the input are always returned.
2) Type is preserved, in particular, integer is not upcast to float.
Note that the function now accepts all types, not just inexact and
integer. The lack of upcast is present since at least numpy 1.5, but
may be a bug.
Diffstat (limited to 'numpy/lib/tests/test_recfunctions.py')
0 files changed, 0 insertions, 0 deletions