summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_regression.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-01-23 20:04:05 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-01-23 20:18:12 -0700
commit855b66f3eeab166ee504d73952b61b4b713f3c6f (patch)
tree3e015dab6a457b37692c9493dda1b9538898d9eb /numpy/lib/tests/test_regression.py
parentdce10183bc8f3d243bd5fc70140f5ad71179d05c (diff)
downloadnumpy-855b66f3eeab166ee504d73952b61b4b713f3c6f.tar.gz
BUG: gh-2790, fix column scaling in polynomial package least squares.
The columns should be scaled using their 2-norm, but in the complex case that was being incorrectly computed as the square root of the sum of the squared elements rather than as the square root of the sum of their squared real and imaginary parts.
Diffstat (limited to 'numpy/lib/tests/test_regression.py')
0 files changed, 0 insertions, 0 deletions