diff options
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 005a6fcac..30035bbff 100644 --- a/numpy/core/arrayprint.py +++ b/numpy/core/arrayprint.py @@ -150,7 +150,7 @@ def _array2string(a, max_line_width, precision, suppress_small, separator=' ', format_function = _boolFormatter elif issubclass(dtypeobj, _nt.integer): max_str_len = max(len(str(maximum.reduce(data))), - len(str(mininum.reduce(data)))) + len(str(minimum.reduce(data)))) format = '%' + str(max_str_len) + 'd' format_function = lambda x: _formatInteger(x, format) elif issubclass(dtypeobj, _nt.floating): |