diff options
author | zengi <omar.uwaterloo@gmail.com> | 2017-04-29 13:34:28 +0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-29 13:34:28 +0500 |
commit | de6b269f559258f96fe29401798ec6c8a7dc3dbc (patch) | |
tree | 8adf453b349009278796f0fb3403ff0616bd3207 /numpy/lib/tests/test_mixins.py | |
parent | ef2cfe12c49ab377cfbf2f54993699b92229b907 (diff) | |
download | numpy-de6b269f559258f96fe29401798ec6c8a7dc3dbc.tar.gz |
Correction in default stop index value for negative stepping.
On line 88 the default value for stop index 'j' in the basic slice syntax is i:j:k for negative values of k is given as -1
Line 88: and -1 for *k < 0* . If *k* is not given it defaults to 1. Note that
Proposing that this should be changed to -n-1:
Line 88: and *-n-1* for *k < 0* . If *k* is not given it defaults to 1. Note that
The issue was discussed and was approved by a project member see the following link :
https://github.com/numpy/numpy/issues/9010#issuecomment-298095768
Diffstat (limited to 'numpy/lib/tests/test_mixins.py')
0 files changed, 0 insertions, 0 deletions