-
Robert Bradshaw authored
Previously, if incrementing by the length failed to make the index positive, this *incremented* index was passed in an attempt to raise the correct error. This fixes #1700.
3377d3e3
Previously, if incrementing by the length failed to make the index positive, this *incremented* index was passed in an attempt to raise the correct error. This fixes #1700.