diff options
author | Simon Gibbons <simongibbons@gmail.com> | 2015-02-21 18:25:28 +0000 |
---|---|---|
committer | Simon Gibbons <simongibbons@gmail.com> | 2015-02-21 18:25:28 +0000 |
commit | 9df514382c0b7c8fdaa979f66054285d69afee4d (patch) | |
tree | b5fe026cb1c7c939883076bb73280ba6d2ff8e38 /numpy/polynomial/polyutils.py | |
parent | d770034969e35907e7497d5fe9053df4bdac2fd2 (diff) | |
download | numpy-9df514382c0b7c8fdaa979f66054285d69afee4d.tar.gz |
BUG: numpy.ma.polyfit masks NaNs incorrectly
This fixes the incorrect handing of masked NaNs by
``np.ma.polyfit``. Instead of passing the mask into
``np.polyfit`` by setting the weight of the masked
points to zero, the subset of elements of which are
to be fitted are passed instead.
Closes #5591
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions