diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-04-19 18:40:40 +0100 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-04-19 18:42:12 +0100 |
commit | 871bd932dcea92891fbbc2edc1ec1246c9394170 (patch) | |
tree | 89981a8e916d34757feae8ac27abd0827926ecb9 /numpy/core/arrayprint.py | |
parent | f031cdf83593907431ca2666d8484cb1c36315bd (diff) | |
parent | 3b2a7a761d5ceef3b9dcca3fff10380cb7a6f976 (diff) | |
download | numpy-871bd932dcea92891fbbc2edc1ec1246c9394170.tar.gz |
Merge remote-tracking branch 'upstream/master' into remove-setslice
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 349f8ea39..318ad5495 100644 --- a/numpy/core/arrayprint.py +++ b/numpy/core/arrayprint.py @@ -331,7 +331,7 @@ def _array2string(a, max_line_width, precision, suppress_small, separator=' ', # skip over array( next_line_prefix += " "*len(prefix) - lst = _formatArray(a, format_function, len(a.shape), max_line_width, + lst = _formatArray(a, format_function, a.ndim, max_line_width, next_line_prefix, separator, _summaryEdgeItems, summary_insert)[:-1] return lst |