From 91861a9638391361234a442497536204f6fe59e4 Mon Sep 17 00:00:00 2001 From: Mark Wiebe Date: Tue, 26 Jul 2011 17:07:03 -0500 Subject: ENH: missingdata: Part way through supporting the NPY_ITER_USE_MASKNA flag --- numpy/core/numeric.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/core/numeric.py') diff --git a/numpy/core/numeric.py b/numpy/core/numeric.py index e073128dd..a28ecdd19 100644 --- a/numpy/core/numeric.py +++ b/numpy/core/numeric.py @@ -1335,7 +1335,7 @@ def array_repr(arr, max_line_width=None, precision=None, suppress_small=None): if arr.flags.maskna: lst += ", maskna=True" # If everything is NA, can't skip the type - if np.all(np.isna(arr)): + if skiptype and np.all(np.isna(arr)): skiptype = False if skiptype: -- cgit v1.2.1