diff options
Diffstat (limited to 'src/H5Fistore.c')
-rw-r--r-- | src/H5Fistore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Fistore.c b/src/H5Fistore.c index 9634457..de6a1cb 100644 --- a/src/H5Fistore.c +++ b/src/H5Fistore.c @@ -1052,7 +1052,7 @@ H5F_istore_lock (H5F_t *f, const H5O_layout_t *layout, } } - assert (chunk_size>0); + assert (found>=0 || chunk_size>0); if (found<0 && chunk_size<=f->shared->access_parms->rdcc_nbytes) { /* * Add the chunk to the beginning of the cache after pruning the cache |