Skip to content

a[end] should use linear index #154

@JeffBezanson

Description

@JeffBezanson

Currently end always has the value size(a,n) where n is the position of end in the list of indexes. In matlab a(end) does a(numel(a)), so end is different if there is only one index.

Do we want to do this? I assume we do.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions