diff options
author | Lev Abalkin <abalkin@enlnt.com> | 2013-11-12 12:44:03 -0500 |
---|---|---|
committer | Lev Abalkin <abalkin@enlnt.com> | 2013-11-12 13:08:32 -0500 |
commit | d8fd28389adb491e24b7cdc25cd1b20f539310c3 (patch) | |
tree | cc7dbe74666d704acf98679f65bfbe236e795a73 /numpy/lib/twodim_base.py | |
parent | 6132b9832d06a81457ff931c42ac09408f7b0398 (diff) | |
download | numpy-d8fd28389adb491e24b7cdc25cd1b20f539310c3.tar.gz |
ENH: ma.asarray() and ma.asanyarray() will pass through input of the correct type.
If x is of type MaskedArray for ma.asarray(x) or any subtype of
MaskedArray for ma.asanyarray(x), these functions will simply return x.
This makes them consistent with their numpy counterparts.
Closes gh-4043.
Diffstat (limited to 'numpy/lib/twodim_base.py')
0 files changed, 0 insertions, 0 deletions