laurentkneip / opengv

OpenGV is a collection of computer vision methods for solving geometric vision problems. It is hosted and maintained by the Mobile Perception Lab of ShanghaiTech.
Other
1.01k stars 354 forks source link

Fix printing #114

Closed ToniRV closed 3 years ago

ToniRV commented 3 years ago

Should be an int rather than double, otw we get: Trial 1 out of 0.127766: 22 inliers (best is: 22 so far)

ToniRV commented 3 years ago

Oh, I was a bit fast with this PR, I see k is a double, but it looks a bit weird to have an output like the above? I wonder if k is correctly calculated or it is just that it is the last iteration (despite being the first).