summaryrefslogtreecommitdiffstats
path: root/src/H5Dlayout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Dlayout.c')
-rw-r--r--src/H5Dlayout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Dlayout.c b/src/H5Dlayout.c
index c0e1b20..4da0443 100644
--- a/src/H5Dlayout.c
+++ b/src/H5Dlayout.c
@@ -452,7 +452,7 @@ H5D__layout_oh_read(H5D_t *dataset, hid_t dxpl_id, hid_t dapl_id, H5P_genplist_t
{
size_t i;
- HDassert(!dataset->shared->layout.storage.u.virt.list == (dataset->shared->layout.storage.u.virt.list_nused == 0));
+ HDassert(dataset->shared->layout.storage.u.virt.list || (dataset->shared->layout.storage.u.virt.list_nused == 0));
/* Patch the virtual selection dataspaces */
for(i = 0; i < dataset->shared->layout.storage.u.virt.list_nused; i++)