linearizeNumerically bug

Issue #460 closed
Brice Rebsamen created an issue

in linearizeNumerically I think dX should be created insice the factor loop instead of outside

https://bitbucket.org/gtborg/gtsam/src/357e739127deb7d9bec5dad2a5d117d9f4e4e1be/gtsam/nonlinear/factorTesting.h#lines-49

Comments (3)

  1. Brice Rebsamen reporter

    I am not too sure how this didn't affect current unit tests, but my unit test on my custom factor was failing because of that. After checking my jacobians for most of the day and banging my head against the walls, I figured thanks to gdb that this was happening. I moved dX in the loop and my unit test is now passing.

  2. Log in to comment