diff options
Diffstat (limited to 'numpy/random/common.pyx')
-rw-r--r-- | numpy/random/common.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/common.pyx b/numpy/random/common.pyx index 6ad5f5b21..b2f24be7d 100644 --- a/numpy/random/common.pyx +++ b/numpy/random/common.pyx @@ -227,7 +227,7 @@ cdef check_output(object out, object dtype, object size): raise ValueError('Supplied output array is not contiguous, writable or aligned.') if out_array.dtype != dtype: raise TypeError('Supplied output array has the wrong type. ' - 'Expected {0}, got {0}'.format(dtype, out_array.dtype)) + 'Expected {0}, got {1}'.format(dtype, out_array.dtype)) if size is not None: try: tup_size = tuple(size) |