Skip to content

Expand short slices#59

Merged
jakirkham merged 1 commit intomasterfrom
short_slices
Feb 20, 2017
Merged

Expand short slices#59
jakirkham merged 1 commit intomasterfrom
short_slices

Conversation

@jakirkham
Copy link
Owner

If a slice is shorter than the shape provided to reformat_slices, assume that the user wanted to include everything in those remaining dimensions. So simply tack on an Ellipsis to the slices. This way it automatically includes everything else after the given slice(s).

If a slice is shorter than the shape provided to `reformat_slices`,
assume that the user wanted to include everything in those remaining
dimensions. So simply tack on an `Ellipsis` to the slices. This way it
automatically includes everything else after the given slice(s).
@jakirkham jakirkham merged commit 9b70f83 into master Feb 20, 2017
@jakirkham jakirkham deleted the short_slices branch February 20, 2017 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments