I would like to point out an error in the itkCovarianceSampleFilterTest.<br>
cc located in the folder ITK/Insight/Testing/Code/<div id=":1n" class="ii gt">Review/Statistics<br>
Please notice that in the current cvs repository code we have<br>
if ( ( vcl_fabs( mean[0] - mean[0]) > epsilon ) ||<br>
( vcl_fabs( mean[1] - mean[1]) > epsilon) ||<br>
( vcl_fabs( mean[2] - mean[2]) > epsilon) )<br>
{<br>
std::cerr << "Mean parameter value retrieved using GetMean() and the<br>
decorator\<br>
are not the same:: " << mean << "," << mean2 <<<br>
std::endl;<br>
return EXIT_FAILURE;<br>
}<br>
The correct should be<br>
if ( ( vcl_fabs( mean[0] - mean2[0]) > epsilon ) ||<br>
( vcl_fabs( mean[1] - mean2[1]) > epsilon) ||<br>
<br>
- Ignored:<br>
( vcl_fabs( mean[2] - mean2[2]) > epsilon) )<br>
{<br>
std::cerr << "Mean parameter value retrieved using GetMean() and the<br>
decorator\<br>
are not the same:: " << mean << "," << mean2 <<<br>
std::endl;<br>
return EXIT_FAILURE;<br>
}<br>
</div>