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

Fixing opengv::math::Bracket::dividable to prevent infinite loops with recursive bisections. #77

Closed marcorabozzi closed 5 years ago

marcorabozzi commented 5 years ago

The proposed fix ensures that the method returns false if the interval is too small to be divided due to finite double precision.