summaryrefslogtreecommitdiffstats
path: root/src/H5C.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2020-04-23 20:29:17 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-04-23 20:29:17 (GMT)
commita0b6979c6ff1eef468bd815cd6162709967cf060 (patch)
tree88eba5f595ea887666f68ad55f1be03a61f46758 /src/H5C.c
parent3cc2644c70a04a99a5c915c27c67e070efaf7ae6 (diff)
downloadhdf5-a0b6979c6ff1eef468bd815cd6162709967cf060.zip
hdf5-a0b6979c6ff1eef468bd815cd6162709967cf060.tar.gz
hdf5-a0b6979c6ff1eef468bd815cd6162709967cf060.tar.bz2
Relax an assertion condition.
Diffstat (limited to 'src/H5C.c')
-rw-r--r--src/H5C.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 787ea36..3a236d3 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -1033,7 +1033,7 @@ H5C_evict_or_refresh_all_entries_in_page(H5F_t * f, uint64_t page,
HDassert(entry_ptr->addr <
(haddr_t)((page+1) * cache_ptr->page_size));
HDassert(length == cache_ptr->page_size ||
- page * cache_ptr->page_size + length >=
+ page * cache_ptr->page_size + length <=
entry_ptr->addr + entry_ptr->size);
found = true;