You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think zero-sized blobs weren't contemplated in the current design. If you reshape to zero you get a user-unfriendly exception.
In general, I think it makes sense to allow zero-sized blobs, and to return null when grabbing the data pointer, instead of throwing the exception during Reshape (which is what happens now).
Adding the following test to
test_blob.cpp
:Results in the following crash:
What is the expected behavior for reshaping to zero?
The text was updated successfully, but these errors were encountered: