mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
calib3d: fix warning from gcc7
This commit is contained in:
parent
ef7833a271
commit
e0ff5106d3
@ -137,7 +137,7 @@ bool solvePnP( InputArray _opoints, InputArray _ipoints,
|
||||
CvMat c_cameraMatrix = cameraMatrix, c_distCoeffs = distCoeffs;
|
||||
CvMat c_rvec = rvec, c_tvec = tvec;
|
||||
cvFindExtrinsicCameraParams2(&c_objectPoints, &c_imagePoints, &c_cameraMatrix,
|
||||
c_distCoeffs.rows*c_distCoeffs.cols ? &c_distCoeffs : 0,
|
||||
(c_distCoeffs.rows && c_distCoeffs.cols) ? &c_distCoeffs : 0,
|
||||
&c_rvec, &c_tvec, useExtrinsicGuess );
|
||||
result = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user