Skip to content

Don't include '...' to empty-dimensional matrices #174

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

MichaelChirico
Copy link

Closes #141.

Finally understood the code well enough to offer this simple fix.

Crucially, we don't need to worry about omit='both' case because that implies both dimensions are non-empty (and, in fact, large). Also, passing NULL to rbind(), cbind(), just omits them, leading to the desired behavior without needing an else clause.

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.

Implict rows/cols>0 assumption in arr_parts_combine
1 participant