fix compiler warning

pull/6955/head
Sergei Nosov 9 years ago
parent d06b8c4ea9
commit b3d55489d3
  1. 2
      modules/calib3d/test/test_cameracalibration.cpp

@ -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");

Loading…
Cancel
Save