summaryrefslogtreecommitdiff
path: root/numpy/lib/shape_base.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2013-04-13 09:41:22 +0200
committerSebastian Berg <sebastian@sipsolutions.net>2013-05-31 19:16:02 +0200
commit5c8d5c263b93700ae92aff38bb9a8d05c0a185e6 (patch)
tree0f2aec8e1516213f81378d253b465d8aa6f1c04d /numpy/lib/shape_base.py
parent44a796154a4d349768c6e2244b39e8a69d2d1680 (diff)
downloadnumpy-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.py2
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)