Call EvaluationCallback before evaluating the fixed cost. Fixe a subtle bug in Program::RemoveFixedBlocks, where we call ResidualBlock::Evaluate on residual blocks with all constant parameter blocks without paying attention to the presence of an EvaluationCallback. In the process also run clang-format on some of the files touched by this change. https://github.com/ceres-solver/ceres-solver/issues/482 Change-Id: I342b66f6f975fdee2eef139a31f24d4a3e568e84
Ceres Solver is an open source C++ library for modeling and solving large, complicated optimization problems. It is a feature rich, mature and performant library which has been used in production at Google since 2010. Ceres Solver can solve two kinds of problems.
Please see ceres-solver.org for more information.