From 8b3e9ae5262c1da1118370cd6e83db9b2166952e Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 5 Jul 2015 11:47:29 -0600 Subject: STY: PEP8 fixes for numpy/core/*.py --- numpy/core/_methods.py | 1 - 1 file changed, 1 deletion(-) (limited to 'numpy/core/_methods.py') diff --git a/numpy/core/_methods.py b/numpy/core/_methods.py index 00716e1b4..5fc2bc445 100644 --- a/numpy/core/_methods.py +++ b/numpy/core/_methods.py @@ -58,7 +58,6 @@ def _mean(a, axis=None, dtype=None, out=None, keepdims=False): if rcount == 0: warnings.warn("Mean of empty slice.", RuntimeWarning) - # Cast bool, unsigned int, and int to float64 by default if dtype is None and issubclass(arr.dtype.type, (nt.integer, nt.bool_)): dtype = mu.dtype('f8') -- cgit v1.2.1