diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-03-01 21:36:43 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2007-03-01 21:36:43 (GMT) |
commit | a0d5e09775b83e851386710fb563ffee70210c28 (patch) | |
tree | f6a4d9a4e99520cf55cfbf04e2d4083074fc279f /tools/lib/h5diff_array.c | |
parent | 2e8b6c0223e6969e3840e2dfefdfa34a223f3e15 (diff) | |
download | hdf5-a0d5e09775b83e851386710fb563ffee70210c28.zip hdf5-a0d5e09775b83e851386710fb563ffee70210c28.tar.gz hdf5-a0d5e09775b83e851386710fb563ffee70210c28.tar.bz2 |
[svn-r13441]
make 1.7 h5repack more similar to 1.6 h5repack
Diffstat (limited to 'tools/lib/h5diff_array.c')
-rw-r--r-- | tools/lib/h5diff_array.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/lib/h5diff_array.c b/tools/lib/h5diff_array.c index a01aefe..45f46ad 100644 --- a/tools/lib/h5diff_array.c +++ b/tools/lib/h5diff_array.c @@ -712,13 +712,13 @@ hsize_t diff_datum(void *_mem1, iszero1=all_zero(_mem1, H5Tget_size(m_type)); iszero2=all_zero(_mem2, H5Tget_size(m_type)); - if (iszero1==1 || iszero2==1) + if (iszero1 != iszero2) { - return 0; + return 1; } - else + else if (!iszero1 && !iszero2) { - + /*------------------------------------------------------------------------- * H5T_STD_REF_DSETREG * Dataset region reference |