Commit 176eb83d authored by Andrey Kamaev's avatar Andrey Kamaev

Fixed Windows build

parent 67838a7a
...@@ -1536,7 +1536,7 @@ void CV_StereoCalibrationTest::run( int ) ...@@ -1536,7 +1536,7 @@ void CV_StereoCalibrationTest::run( int )
Mat reprojectedPoints; Mat reprojectedPoints;
perspectiveTransform(sparsePoints, reprojectedPoints, Q); perspectiveTransform(sparsePoints, reprojectedPoints, Q);
if (norm(triangulatedPoints - reprojectedPoints) / sqrt(pointsCount) > requiredAccuracy) if (norm(triangulatedPoints - reprojectedPoints) / sqrt((double)pointsCount) > requiredAccuracy)
{ {
ts->printf( cvtest::TS::LOG, "Points reprojected with a matrix Q and points reconstructed by triangulation are different, testcase %d\n", testcase); ts->printf( cvtest::TS::LOG, "Points reprojected with a matrix Q and points reconstructed by triangulation are different, testcase %d\n", testcase);
ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_OUTPUT ); ts->set_failed_test_info( cvtest::TS::FAIL_INVALID_OUTPUT );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment