summaryrefslogtreecommitdiff
path: root/numpy/lib/index_tricks.py
diff options
context:
space:
mode:
authorslepton <slepton@posteo.de>2021-07-07 21:25:53 +0200
committerslepton <slepton@posteo.de>2021-07-07 21:25:53 +0200
commitd19584547a7934bfce9dee445e65a2c1994cecdc (patch)
tree2013779442bff7d9f47464fd3a1b6ba755b0070d /numpy/lib/index_tricks.py
parent5ac75798362cea6ecbd602a46b80c297b0f6712a (diff)
parentde245cd133699f8c23f97ec07ec29703e37a5923 (diff)
downloadnumpy-d19584547a7934bfce9dee445e65a2c1994cecdc.tar.gz
Merge remote-tracking branch 'origin/main' into main
Diffstat (limited to 'numpy/lib/index_tricks.py')
-rw-r--r--numpy/lib/index_tricks.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/numpy/lib/index_tricks.py b/numpy/lib/index_tricks.py
index 5140ffa61..8d1b6e5be 100644
--- a/numpy/lib/index_tricks.py
+++ b/numpy/lib/index_tricks.py
@@ -201,7 +201,6 @@ class nd_grid:
length = int(step)
if step != 1:
step = (key.stop-start)/float(step-1)
- stop = key.stop + step
return _nx.arange(0, length, 1, float)*step + start
else:
return _nx.arange(start, stop, step)