[Numpy-svn] [numpy/numpy] 1e17e2: STY: Minor style fixups.

GitHub noreply at github.com
Tue Nov 10 20:51:40 EST 2015


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 1e17e2d7d176eb97157e3f613425ef746df56ed1
      https://github.com/numpy/numpy/commit/1e17e2d7d176eb97157e3f613425ef746df56ed1
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-11-07 (Sat, 07 Nov 2015)

  Changed paths:
    M numpy/ma/core.py
    M numpy/ma/extras.py

  Log Message:
  -----------
  STY: Minor style fixups.

Fix some long lines and indentation in numpy/ma/core.py and
numpy/ma/extras.py


  Commit: cf9f1907b99d06291ab16ad4d2105a871f56f7d9
      https://github.com/numpy/numpy/commit/cf9f1907b99d06291ab16ad4d2105a871f56f7d9
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-11-10 (Tue, 10 Nov 2015)

  Changed paths:
    M numpy/ma/core.py
    M numpy/ma/extras.py

  Log Message:
  -----------
  BUG, MAINT: Refactor ma.dot function and the corresponding method.

The basic implementation of ma.dot is moved from the method to the function
and the function itself is moved from extras.py to core.py on account of
import complications. The mask_rowcols function from extras is also moved
to core.py as it is needed by dot. For backwards compatibility, both
functions are still exported in extras.__all__ and can be imported
from that module. They are not included in part of core.__all__.

An out parameter is also added to ma.dot.

This PR also closes #6611.


  Commit: 3e82108f701b0ce6cbb9e16f5d7fd4c3cb27a97c
      https://github.com/numpy/numpy/commit/3e82108f701b0ce6cbb9e16f5d7fd4c3cb27a97c
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-11-10 (Tue, 10 Nov 2015)

  Changed paths:
    M numpy/ma/tests/test_core.py
    M numpy/ma/tests/test_extras.py

  Log Message:
  -----------
  TST: Add tests for ma.dot.

Test that ma.dot always returns a masked array.
Test basic that the new out parameter in ma.dot works.


  Commit: d70af67c14f3cc37d5c6786760a7b45eb6cd4e66
      https://github.com/numpy/numpy/commit/d70af67c14f3cc37d5c6786760a7b45eb6cd4e66
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2015-11-10 (Tue, 10 Nov 2015)

  Changed paths:
    M numpy/ma/core.py
    M numpy/ma/extras.py
    M numpy/ma/tests/test_core.py
    M numpy/ma/tests/test_extras.py

  Log Message:
  -----------
  Merge pull request #6653 from charris/fix-ma-dot

Fix ma dot


Compare: https://github.com/numpy/numpy/compare/694f628bb9bb...d70af67c14f3


More information about the Numpy-svn mailing list