[svn-r12304] Purpose:

bug fix

Description:
the diff region output was done in verbose mode

Solution:
avoid it in verbose

Platforms tested:
linux

Misc. update:
This commit is contained in:
Pedro Vicente Nunes
2006-04-26 11:02:58 -05:00
parent c5dc74de15
commit 3c4e460d39

View File

@@ -1854,9 +1854,10 @@ hsize_t diff_region(hid_t obj1_id,
}
}
}
/* print differences if found */
if (nfound_b)
if (nfound_b && options->m_verbose)
{
parallel_print("Referenced dataset %lu %lu\n",
(unsigned long)objno1,(unsigned long)objno2);
@@ -1908,7 +1909,7 @@ hsize_t diff_region(hid_t obj1_id,
}
}
if (nfound_p)
if (nfound_p && options->m_verbose)
{
parallel_print("Region points\n");
for (i = 0; i < npoints1; i++)
@@ -1954,7 +1955,9 @@ hsize_t diff_region(hid_t obj1_id,
HDfree(ptdata2);
}
return (nfound_p + nfound_b)/2;
nfound_b = nfound_b/ndims1;
nfound_p = nfound_p/ndims1;
return (nfound_p + nfound_b);
}