[Numpy-svn] [numpy/numpy] b1e543: BUG: scalar argument to ma.atleast_* return arrays
GitHub
noreply at github.com
Wed Oct 21 12:34:23 EDT 2015
Branch: refs/heads/maintenance/1.10.x
Home: https://github.com/numpy/numpy
Commit: b1e5430f5b8cac71dc1f00798a1ffee8cc372a1b
https://github.com/numpy/numpy/commit/b1e5430f5b8cac71dc1f00798a1ffee8cc372a1b
Author: Jonathan Helmus <jjhelmus at gmail.com>
Date: 2015-10-21 (Wed, 21 Oct 2015)
Changed paths:
M numpy/ma/extras.py
M numpy/ma/tests/test_extras.py
Log Message:
-----------
BUG: scalar argument to ma.atleast_* return arrays
The np.ma.atleast_1d, np.ma.atleast_2d, np.ma.atleast_3d and np.ma.diagflat
function return arrays when given a scalar in the same manner as their non-ma
counterparts. Previously these function would return None.
Additionally, the np.ma vstack, row_stack, hstack, column_stack, dstack, and
hsplit functions now raise an expection when given a scalar argument.
closes #3367
Commit: b41e69af25c1d2a9a0499ca82dc3984ce87ade4e
https://github.com/numpy/numpy/commit/b41e69af25c1d2a9a0499ca82dc3984ce87ade4e
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2015-10-21 (Wed, 21 Oct 2015)
Changed paths:
M numpy/ma/extras.py
M numpy/ma/tests/test_extras.py
Log Message:
-----------
Merge pull request #6543 from charris/backport-6537
BUG: scalar argument to ma.atleast_* return arrays
Compare: https://github.com/numpy/numpy/compare/c74be39b4bfe...b41e69af25c1
More information about the Numpy-svn
mailing list