diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2015-03-03 17:32:22 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2015-03-03 17:32:22 (GMT) |
commit | 79771d3fac06f99485a8201782b638e4c812f0a0 (patch) | |
tree | 10d5c014de2ef43c1725c68c253186d472e4b6d0 /src/H5Dlayout.c | |
parent | 56f74066712e0d61092f9281b99de990ea92eea2 (diff) | |
download | hdf5-79771d3fac06f99485a8201782b638e4c812f0a0.zip hdf5-79771d3fac06f99485a8201782b638e4c812f0a0.tar.gz hdf5-79771d3fac06f99485a8201782b638e4c812f0a0.tar.bz2 |
[svn-r26346] Add more test cases, refactor test code to reduce code duplication. Minor
fixes in src.
Note make check still fails in h5ls test.
Tested: ummon
Diffstat (limited to 'src/H5Dlayout.c')
-rw-r--r-- | src/H5Dlayout.c | 2 |
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++) |