fix compiler warning

This commit is contained in:
Sergei Nosov 2016-07-21 10:57:58 +03:00
parent d06b8c4ea9
commit b3d55489d3

View File

@ -1440,7 +1440,7 @@ void CV_StereoCalibrationCornerTest::run(int)
// result as calibrating the downscaled images
int cnz = countNonZero((cv::Mat(src_result - rsz_result) != 0)(
cv::Rect(src_result.cols / 3, src_result.rows / 3,
src_result.cols / 3.1, src_result.rows / 3.1)));
(int)(src_result.cols / 3.1), int(src_result.rows / 3.1))));
if (cnz)
{
ts->printf( cvtest::TS::LOG, "The camera matrix is wrong for downscaled image\n");