-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Uniform scaling cat with zero dimensions #29457
Conversation
for i = 1:nr | ||
nci = 0 | ||
rows[i] > 0 && n[j+1] == 0 && continue # column count unknown in this row | ||
rows[i] > 0 && n[j+1] == -1 && (j += rows[i]; continue) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should have been some kind of bug here previously, but I can't figure out how.
The tests passed on travis, not sure why it shows up as pending. |
Sometimes the Travis test success notification doesn't propagate to the GitHub window. Seems to happen more often recently. Looks good to me, great that you added so many extra tests. |
* Uniform scaling cat with zero dimensions * Missing type assertion in test (cherry picked from commit 4093dbf)
* Uniform scaling cat with zero dimensions * Missing type assertion in test (cherry picked from commit 4093dbf)
* Uniform scaling cat with zero dimensions * Missing type assertion in test (cherry picked from commit 4093dbf)
Should solve issue of cat with matrices with zero sizes, see: #29456
I tried to catch as many corner cases as possible, should the tests be in a separate testset for the issue?