mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
6ad6257de0
On certain NDK build configurations, one of the innermost parts of the Schur eliminator would get compiled incorrectly. The compiler changed a -= to a +=. The normal Ceres unit tests caught the problem; however, since it is not possible to build the tests with the NDK (only with the standalone toolchain) this was difficult to track down. Finding the issue involved pasting the schur eliminator unit test inside of solver_impl.cc and other such hacks. Change-Id: Ie91bb545d74fe39f0c8cbd1a6eb69ee4d8b25fb2