summaryrefslogtreecommitdiff
path: root/numpy/core/fromnumeric.py
diff options
context:
space:
mode:
authorJonathan Helmus <jjhelmus@gmail.com>2015-10-20 20:35:43 -0500
committerJonathan Helmus <jjhelmus@gmail.com>2015-10-20 20:35:43 -0500
commit3edf1a43987be276459e01c4afa7bbc6c74e7144 (patch)
treef2a4d8c29c6d4b86a416fab819b11348ef16048f /numpy/core/fromnumeric.py
parent4750c2810c5e0943cbea8e2acc0337c4e66a9bb2 (diff)
downloadnumpy-3edf1a43987be276459e01c4afa7bbc6c74e7144.tar.gz
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
Diffstat (limited to 'numpy/core/fromnumeric.py')
0 files changed, 0 insertions, 0 deletions