summaryrefslogtreecommitdiff
path: root/numpy/polynomial/polyutils.py
diff options
context:
space:
mode:
authorSimon Gibbons <simongibbons@gmail.com>2015-02-21 18:25:28 +0000
committerSimon Gibbons <simongibbons@gmail.com>2015-02-21 18:25:28 +0000
commit9df514382c0b7c8fdaa979f66054285d69afee4d (patch)
treeb5fe026cb1c7c939883076bb73280ba6d2ff8e38 /numpy/polynomial/polyutils.py
parentd770034969e35907e7497d5fe9053df4bdac2fd2 (diff)
downloadnumpy-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