summaryrefslogtreecommitdiff
path: root/numpy/lib/index_tricks.py
diff options
context:
space:
mode:
authorslepton <slepton@posteo.de>2021-07-07 20:00:48 +0200
committerGitHub <noreply@github.com>2021-07-07 20:00:48 +0200
commitde245cd133699f8c23f97ec07ec29703e37a5923 (patch)
treed1b485e30de04e078aa86f9e5f3466744fa505b9 /numpy/lib/index_tricks.py
parent87db3d1ae9a16edabd8f4818307616d8182d2a12 (diff)
parent068074f4acab87b0fabf194517b7dfb0f038af5a (diff)
downloadnumpy-de245cd133699f8c23f97ec07ec29703e37a5923.tar.gz
Merge branch 'numpy: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)