summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorDavid Schaich <daschaich@gmail.com>2016-05-24 19:31:51 -0400
committerCharles Harris <charlesr.harris@gmail.com>2016-06-15 11:23:20 -0600
commit37ee08dc9c7cbe0cf8a671c8cc73877d1a142ee1 (patch)
tree4cf82499dbcfd0897c5e0c7fd15544eb17bdc1e2 /numpy/core/arrayprint.py
parente26738a628de0fe1897f2960708ec16e4c3177f7 (diff)
downloadnumpy-37ee08dc9c7cbe0cf8a671c8cc73877d1a142ee1.tar.gz
BUG: Make sure we don't divide by zero in np.polyfit.
This should fix the issue discussed at https://mail.scipy.org/pipermail/numpy-discussion/2013-July/067076.html Without the ValueError added here, polyfit can (and does) return negative or nan variances with no warning.
Diffstat (limited to 'numpy/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions