mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
a9334d67d7
There was a bug in the way RemoveFixedBlocksFromProgram was working. It only removed the constant parameter blocks from the linear_solver_ordering, it was not even aware of the inner_iteration_ordering. This change fixes this bug. The code for RemoveFixedBlocksFromProgram is also cleaned up and made more readable and the test have been updated. Thanks to Mikael Persson for reporting this. Change-Id: I454fa89f9b6f4f6320b02d5235e6f322cc15ff51