fixed defects from coverity.com

This commit is contained in:
Ilya Lavrenov
2014-02-23 14:59:06 +04:00
parent 0a90d6dde6
commit 32eb38ec98
27 changed files with 72 additions and 26 deletions

View File

@@ -211,6 +211,7 @@ void CV_ChessboardSubpixelTest::run( int )
progress = update_progress( progress, i-1, runs_count, 0 );
}
ASSERT_NE(0, count);
sum_dist /= count;
ts->printf(cvtest::TS::LOG, "Average error after findCornerSubpix: %f\n", sum_dist);