summaryrefslogtreecommitdiff
path: root/numpy/core/numeric.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2015-04-03 12:46:06 -0600
committerCharles Harris <charlesr.harris@gmail.com>2015-04-03 17:20:15 -0600
commitacbd6a9d4be019629414ec5f9a91c02bce7dec14 (patch)
tree1b0cc75e01700c72ba351c4de0d0205a06682f82 /numpy/core/numeric.py
parent71dea15af12ca296cb0f360f09bbedd7c5edfd15 (diff)
downloadnumpy-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/core/numeric.py')
0 files changed, 0 insertions, 0 deletions