diff options
author | Warren Weckesser <warren.weckesser@gmail.com> | 2019-12-31 09:57:58 -0500 |
---|---|---|
committer | Warren Weckesser <warren.weckesser@gmail.com> | 2020-01-01 18:50:02 -0500 |
commit | 0fea57e2c3c890b63c91325f9f9ce07ead74b745 (patch) | |
tree | d7045e02eed6a66c809eb5a1d10d5b84cc508e46 /numpy/polynomial/polyutils.py | |
parent | 6253ff78be7f21898178799758717bfe59368b94 (diff) | |
download | numpy-0fea57e2c3c890b63c91325f9f9ce07ead74b745.tar.gz |
BUG: lib: Fix handling of integer arrays by gradient.
In numpy.gradient, convert integer array inputs to float64 to avoid
unwanted modular arithmetic.
Closes gh-15207.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions