From 0a407f99008973cead33d672c44006fbfa285a34 Mon Sep 17 00:00:00 2001 From: sasha Date: Thu, 12 Jan 2006 21:56:07 +0000 Subject: made 'masked' rank-0 --- numpy/core/ma.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'numpy/core/ma.py') diff --git a/numpy/core/ma.py b/numpy/core/ma.py index 7a0dc658c..eaa7a31b7 100644 --- a/numpy/core/ma.py +++ b/numpy/core/ma.py @@ -2148,5 +2148,4 @@ array.view = _m(not_implemented) del _m, MethodType, not_implemented -masked = MaskedArray([0], int, mask=[1])[0:0] -masked = masked[0:0] +masked = MaskedArray(0, int, mask=1) -- cgit v1.2.1