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
Good catch. Seems like HDF5.heuristic_chunk returns Int64[] when called with a zero-length vector. We could replace this with Int64[1] for zero-length vectors, which would solve the issue. Performance would be terrible if more data is appended to this matrix later, but it's not clear what would be a better default than Int64[1].
It looks like it, but create_group fails when chunk=[]. I've made a series of commits that address this issue, and allows for writing matrices with no stored entries to disk, by adding some code to handle empty vectors. Saving matrices with zero dimension still doesn't work though (e.g., sprand(0, 0)). 541781cacefb07501335e
The text was updated successfully, but these errors were encountered: