diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-11-18 18:45:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-18 18:45:55 -0800 |
commit | 75fa09dfa5f15377f4b10a0167b4c2bb4495b156 (patch) | |
tree | 4a406e60cbce2d6cd21ef6af25682c8cf44013fe /numpy/core/arrayprint.py | |
parent | 365fc9d19b52325bd5618aac1a3fa7b8a6be3b3c (diff) | |
parent | 239783ffb705cdb8e0ed283f69fc05752e93e19b (diff) | |
download | numpy-75fa09dfa5f15377f4b10a0167b4c2bb4495b156.tar.gz |
Merge pull request #10052 from charris/fix-legacy-mode-check
BUG: Fix legacy printing mode check.
Diffstat (limited to 'numpy/core/arrayprint.py')
-rw-r--r-- | numpy/core/arrayprint.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/arrayprint.py b/numpy/core/arrayprint.py index 9f5039c57..f4d6eba89 100644 --- a/numpy/core/arrayprint.py +++ b/numpy/core/arrayprint.py @@ -1170,7 +1170,7 @@ def dtype_is_implied(dtype): array([1, 2, 3], dtype=np.int8) """ dtype = np.dtype(dtype) - if _format_options['legacy'] and dtype.type == bool_: + if _format_options['legacy'] == '1.13' and dtype.type == bool_: return False return dtype.type in _typelessdata |