#8 index minus one rule should not be used for nonzero, ...

open
nobody
None
5
2009-02-24
2009-02-24
Eric Schug
No

variables of index type (for example, obtained from ind=find(...)
replaced by ind=nonzero() or ind=where()) should not be decreased in the
following lines with indexing, eg arr[ind] should be used instead of
arr[ind-1]

Discussion