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
// Check that we are not appending a small chunk after another small chunk
int32_tchunk_nbytes_last;
if (chunksize==0&& (nchunks>0) && (chunk_nbytes< (size_t)chunksize)) {
if chunksize == 0, then chunk_nbytes < (size_t)chunksize) is equivalent to chunk_nbytes < 0)
chunksize == 0 does not seem consistent with the Check that we are not appending a small chunk after another small chunk comment, but I may be wrong here.
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm puzzled by
chunksize == 0
in this piece of code:c-blosc2/blosc/frame.c
Lines 2424 to 2426 in b2434ad
chunksize == 0
, thenchunk_nbytes < (size_t)chunksize)
is equivalent tochunk_nbytes < 0)
chunksize == 0
does not seem consistent with theCheck that we are not appending a small chunk after another small chunk
comment, but I may be wrong here.The text was updated successfully, but these errors were encountered: