Fixed Windows build
This commit is contained in:
parent
67838a7a66
commit
176eb83da6
@ -1536,7 +1536,7 @@ void CV_StereoCalibrationTest::run( int )
|
||||
Mat reprojectedPoints;
|
||||
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->set_failed_test_info( cvtest::TS::FAIL_INVALID_OUTPUT );
|
||||
|
Loading…
x
Reference in New Issue
Block a user