diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2013-04-13 09:41:22 +0200 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-05-31 19:16:02 +0200 |
commit | 5c8d5c263b93700ae92aff38bb9a8d05c0a185e6 (patch) | |
tree | 0f2aec8e1516213f81378d253b465d8aa6f1c04d /numpy/lib/shape_base.py | |
parent | 44a796154a4d349768c6e2244b39e8a69d2d1680 (diff) | |
download | numpy-5c8d5c263b93700ae92aff38bb9a8d05c0a185e6.tar.gz |
MAINT: adept divisions for truedivide
Following deprecations would cause problems otherwise.
Diffstat (limited to 'numpy/lib/shape_base.py')
-rw-r--r-- | numpy/lib/shape_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/shape_base.py b/numpy/lib/shape_base.py index e81bae5fc..f8734ea5e 100644 --- a/numpy/lib/shape_base.py +++ b/numpy/lib/shape_base.py @@ -830,5 +830,5 @@ def tile(A, reps): dim_in = shape[i] dim_out = dim_in*nrep shape[i] = dim_out - n /= max(dim_in,1) + n //= max(dim_in,1) return c.reshape(shape) |