Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand short slices #59

Merged
merged 1 commit into from
Feb 20, 2017
Merged

Expand short slices #59

merged 1 commit into from
Feb 20, 2017

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).
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