[Numpy-svn] [numpy/numpy] f003b0: BUG: Campanion Matrix was scalar, not matrix for d...

GitHub noreply@github....
Thu Jun 20 21:56:20 CDT 2013


  Branch: refs/heads/maintenance/1.7.x
  Home:   https://github.com/numpy/numpy
  Commit: f003b08a8be515c14b5ac4e17f0ab8f1b3126bfc
      https://github.com/numpy/numpy/commit/f003b08a8be515c14b5ac4e17f0ab8f1b3126bfc
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-06-20 (Thu, 20 Jun 2013)

  Changed paths:
    M numpy/polynomial/chebyshev.py
    M numpy/polynomial/hermite.py
    M numpy/polynomial/hermite_e.py
    M numpy/polynomial/laguerre.py
    M numpy/polynomial/legendre.py
    M numpy/polynomial/polynomial.py
    M numpy/polynomial/tests/test_chebyshev.py
    M numpy/polynomial/tests/test_hermite.py
    M numpy/polynomial/tests/test_hermite_e.py
    M numpy/polynomial/tests/test_laguerre.py
    M numpy/polynomial/tests/test_legendre.py
    M numpy/polynomial/tests/test_polynomial.py

  Log Message:
  -----------
  BUG: Campanion Matrix was scalar, not matrix for degree 1.

The companion matrices returned by the various polynomial types was
a scalar in the degree one case instead of a 2-D array. Fix that and
add a test to check for that result.

Closes #3459.





More information about the Numpy-svn mailing list