Closed
Description
opened on Aug 7, 2018
With PR #26775 the behavior of indexing into a LinearIndices
object was changed when the referred range does not start at 1. Before:
LinearIndices((5:8,))[5]
woud return 1, now it is a boundserror. The idea of the old behavior was to have an array with linear indices that is indexed in the same way as the original array, but this is no longer the case now for non-standard indexed arrays, so index conversion first requires a manual conversion to a 1-based index now.
Metadata
Assignees
Labels
No labels
Activity