Skip to content

Commit

Permalink
calib3d: fix warning from gcc7
Browse files Browse the repository at this point in the history
  • Loading branch information
sovrasov committed Aug 25, 2017
1 parent ef7833a commit e0ff510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/calib3d/src/solvepnp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e0ff510

Please sign in to comment.