testDoglegOptimizer hangs on 32 bit Linux

Issue #97 resolved
Chris Beall created an issue

Hangs pegged at 100% CPU load.

Comments (3)

  1. Frank Dellaert

    Issues are probably no good without an initial assignee :-) Should be someone with 32-bit Linux machine...

  2. Chris Beall reporter

    Fixed in commit d0a2db6.

    Very strange bug: if(newDelta == Delta) never became true in Release mode, but worked fine in Debug mode. Fixed by changing to fabs(newDelta - Delta) < 1e-15. Strangely, adding a cout line before the if-statement also fixes the issue.

  3. Log in to comment