hengli / camodocal

CamOdoCal: Automatic Intrinsic and Extrinsic Calibration of a Rig with Multiple Generic Cameras and Odometry
Other
1.16k stars 389 forks source link

missing return statement #83

Open scturtle opened 5 years ago

scturtle commented 5 years ago

https://github.com/hengli/camodocal/blob/b399fa9ee81b5182e59f717e67a8ddd6503cdcb4/src/npoint/five-point/five-point.cpp#L252-L255

singhsonam2509 commented 5 years ago

I have the same problem. I am running CamOdocal Algorithm on Windows. The missing return statement results in the build error. Right now, I fixed it using below code. int CvEMEstimator::runKernel( const CvMat* m1, const CvMat* m2, CvMat* model ) { int ncounts = 0; ncounts = run5Point(m1, m2, model); return ncounts; }