diff options
author | Ruben Garcia <RubenGarcia@users.noreply.github.com> | 2022-01-20 22:30:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 22:30:56 +0100 |
commit | d410c8da4b9d7ef7e7be355f6804bc0f2ee9a2d5 (patch) | |
tree | 5e831415ddcf1227670850e97beb2e606318767b /numpy/lib/polynomial.py | |
parent | 6f2b9a6d8dd66545fcb7e6e4cc4ba353665692d0 (diff) | |
download | numpy-d410c8da4b9d7ef7e7be355f6804bc0f2ee9a2d5.tar.gz |
MAINT: fix typo (#20862)
[ci skip]
Diffstat (limited to 'numpy/lib/polynomial.py')
-rw-r--r-- | numpy/lib/polynomial.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/polynomial.py b/numpy/lib/polynomial.py index f824c4c5e..6aa708861 100644 --- a/numpy/lib/polynomial.py +++ b/numpy/lib/polynomial.py @@ -686,7 +686,7 @@ def polyfit(x, y, deg, rcond=None, full=False, w=None, cov=False): "to scale the covariance matrix") # note, this used to be: fac = resids / (len(x) - order - 2.0) # it was deciced that the "- 2" (originally justified by "Bayesian - # uncertainty analysis") is not was the user expects + # uncertainty analysis") is not what the user expects # (see gh-11196 and gh-11197) fac = resids / (len(x) - order) if y.ndim == 1: |